You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @nutso, I make this small patch in the setting views to allow admin to select user from user list instead of finding and entering user id. Please check and consider merge it into your main release. Thanks
File affect app/views/settings/_recurring_tasks_settings.html.rb
Add these at the begining of file
<%-
users = User.active.all.sort_by {|e| e[:lastname]}
-%>
Hi @nutso, I make this small patch in the setting views to allow admin to select user from user list instead of finding and entering user id. Please check and consider merge it into your main release. Thanks
File affect app/views/settings/_recurring_tasks_settings.html.rb
<%-
users = User.active.all.sort_by {|e| e[:lastname]}
-%>
with
<%= select_tag("settings[journal_attributed_to_user]",
options_from_collection_for_select(users, :id, :name, settings['journal_attributed_to_user']),
:include_blank => true) %>
The text was updated successfully, but these errors were encountered: