More compatibility with autocomplete_users
This commit is contained in:
parent
ad1165256a
commit
f3df349507
@ -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
|
||||
|
@ -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 = {})
|
||||
|
Loading…
Reference in New Issue
Block a user