Skip to content

Commit

Permalink
Update app/listeners/iiif_print/listener.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyf authored Feb 6, 2024
1 parent 98128fd commit 6786f51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/listeners/iiif_print/listener.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def on_object_membership_updated(event)
unless child_work.is_child
child_work.is_child = true
Hyrax.persister.save(resource: child_work)
Hyrax.index_adapter.save(resource: child_work)
end
end
end
Expand Down

0 comments on commit 6786f51

Please sign in to comment.