Commit 9ccd5858 authored by George Koltsov's avatar George Koltsov

Update Import/Export ObjectBuilder for merge requests

parent 74f805e6
......@@ -55,7 +55,7 @@ module Gitlab
def where_clause_for_klass
return attrs_to_arel(attributes.slice('filename')).and(table[:issue_id].eq(nil)) if design?
attrs_to_arel(attributes.slice('iid')) if merge_request?
attrs_to_arel(attributes.slice('iid', 'target_project_id')) if merge_request?
end
def prepare_attributes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment