Actions
Defect #38458
closedDisplay order of watchers in the sidebar is indeterminate
Defect #38458:
Display order of watchers in the sidebar is indeterminate
Resolution:
Fixed
Affected version:
Description
In the watcher section of an issue's sidebar, the order of watchers is not explicitly specified and is environment-dependent (see watcher_users below).
I would suggest improving `watcher_users` to ensure that watchers are displayed in the order they are added.
lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb:
module ClassMethods
def acts_as_watchable(options = {})
return if self.included_modules.include?(Redmine::Acts::Watchable::InstanceMethods)
class_eval do
has_many :watchers, :as => :watchable, :dependent => :delete_all
has_many :watcher_users, :through => :watchers, :source => :user, :validate => false
Files
Actions