Project

General

Profile

Actions

Feature #3047

closed

xmera Omnia - Collection #3083: Update to RM 5.1.7

Check issue_query

Added by liaham about 1 month ago. Updated 26 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/17/2025
Due date:
03/17/2025
% Done:

100%

Estimated time:
Compatible Redmine Version:
5.1.z

Description

diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb
index d368dbe17..ce1ce93e7 100644
--- a/app/models/issue_query.rb
+++ b/app/models/issue_query.rb
@@ -522,7 +522,7 @@ class IssueQuery < Query
   def sql_for_watcher_id_field(field, operator, value)
     db_table = Watcher.table_name
     me_ids = [0, User.current.id]
-    me_ids = me_ids.concat(User.current.groups.pluck(:id))
+    me_ids.concat(User.current.groups.pluck(:id))
     me, others = value.partition {|id| me_ids.include?(id.to_i)}
     sql =
       if others.any?
Actions #1

Updated by liaham 27 days ago

  • Due date set to 03/17/2025
  • Status changed from New to Closed
  • Assignee set to liaham
  • Start date set to 03/17/2025
  • % Done changed from 0 to 100
Actions #2

Updated by liaham 26 days ago

  • Parent task set to #3083
Actions

Also available in: Atom PDF