diff options
author | mhasbini <mohammad.hasbini@gmail.com> | 2017-02-17 21:28:32 +0300 |
---|---|---|
committer | mhasbini <mohammad.hasbini@gmail.com> | 2017-02-17 21:28:32 +0300 |
commit | 7362fd6fdf4704314acbe9760a329ffe23337af0 (patch) | |
tree | 194114ab4f6776712d47a0da19d992c5d02e2df5 /lib | |
parent | 827a56a47914f128a78deade463d589328d18fc1 (diff) |
add a :iids param to IssuableFinder
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/v3/issues.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/v3/issues.rb b/lib/api/v3/issues.rb index 081d45165e8..ba5b6fdbe52 100644 --- a/lib/api/v3/issues.rb +++ b/lib/api/v3/issues.rb @@ -16,7 +16,8 @@ module API labels = args.delete(:labels) args[:label_name] = labels if match_all_labels - args[:search] = "#{Issue.reference_prefix}#{args.delete(:iid)}" if args.key?(:iid) + # IssuesFinder expects iids + args[:iids] = args.delete(:iid) if args.key?(:iid) issues = IssuesFinder.new(current_user, args).execute.inc_notes_with_associations |