mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
Display order of watchers in the sidebar is indeterminate (#38458).
Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22224 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ef94fedf22
commit
53ec1c0e43
@ -48,7 +48,7 @@ module WatchersHelper
|
||||
def watchers_list(object)
|
||||
remove_allowed = User.current.allowed_to?("delete_#{object.class.name.underscore}_watchers".to_sym, object.project)
|
||||
content = ''.html_safe
|
||||
lis = object.watcher_users.collect do |user|
|
||||
lis = object.watcher_users.sorted.collect do |user|
|
||||
s = ''.html_safe
|
||||
s << avatar(user, :size => "16").to_s
|
||||
s << link_to_principal(user, class: user.class.to_s.downcase)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user