diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ac96b105..a46b02d6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,7 @@ Changelog ++++++ - CSS fix for project macro +- More compatibility for autocomplete_users with other plugins (like redmine_contacts_helpdesk) - Add Spanish translation, thanks to @dktcoding! 2.0.15 diff --git a/app/helpers/additionals_queries_helper.rb b/app/helpers/additionals_queries_helper.rb index 8b84d614..2c70d650 100644 --- a/app/helpers/additionals_queries_helper.rb +++ b/app/helpers/additionals_queries_helper.rb @@ -86,7 +86,7 @@ module AdditionalsQueriesHelper scope = scope.order(last_login_on: :desc) .limit(params[:limit] || Additionals::SELECT2_INIT_ENTRIES) @users = scope.to_a.sort! { |x, y| x.name <=> y.name } - render layout: false, partial: 'auto_completes/users' + render layout: false, partial: 'auto_completes/additionals_users' end def additionals_query_to_xlsx(items, query, options = {}) diff --git a/app/views/auto_completes/_users.html.erb b/app/views/auto_completes/_additionals_users.html.erb similarity index 100% rename from app/views/auto_completes/_users.html.erb rename to app/views/auto_completes/_additionals_users.html.erb