Commit b0655bf1 authored by Stan Hu's avatar Stan Hu

Merge branch 'georgekoltsov/update-object-builder-for-merge-requests' into 'master'

Update Import/Export ObjectBuilder for merge requests

See merge request gitlab-org/gitlab!80278
parents 1b4993c8 9ccd5858
......@@ -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