Skip to content

Commit

Permalink
Use ordered member ids instead of ids
Browse files Browse the repository at this point in the history
  • Loading branch information
straleyb committed Jul 13, 2016
1 parent e40652f commit 96d1940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/actors/curation_concerns/actors/apply_order_actor.rb
Expand Up @@ -11,7 +11,7 @@ def update(attributes)

def sync_members(ordered_member_ids)
return true if ordered_member_ids.nil?
existing_members_ids = curation_concern.member_ids
existing_members_ids = curation_concern.ordered_member_ids
(existing_members_ids - ordered_member_ids).each do |old_id|
work = ::ActiveFedora::Base.find(old_id)
curation_concern.ordered_members.delete(work)
Expand Down

0 comments on commit 96d1940

Please sign in to comment.