Skip to content

Commit

Permalink
Merge pull request #6261 from samvera/works-controller
Browse files Browse the repository at this point in the history
only use specialized `Wings::WorkSearchBuilder` if Wings is enabled
  • Loading branch information
hackartisan authored Aug 30, 2023
2 parents 67b87e8 + a25b59a commit 0fb3829
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
include Hyrax::WorksControllerBehavior # rubocop:disable RSpec/DescribedClass

self.curation_concern_type = Hyrax::Test::SimpleWork
self.search_builder_class = Wings::WorkSearchBuilder(Hyrax::Test::SimpleWork)
self.search_builder_class = Wings::WorkSearchBuilder(Hyrax::Test::SimpleWork) unless
Hyrax.config.disable_wings
self.work_form_service = Hyrax::FormFactory.new
end

Expand Down

0 comments on commit 0fb3829

Please sign in to comment.