module Sufia
  module Catalog
    extend ActiveSupport::Concern
    included do
      self.search_params_logic += [:only_works_and_collections, :show_works_or_works_that_contain_files]
    end
  end
end

module Sufia
  module Catalog
    extend ActiveSupport::Concern
    included do
      self.search_params_logic += [:only_works_and_collections, :show_works_or_works_that_contain_files]

      # include the all_type_tab view helper method
      helper CurationConcerns::CatalogHelper
    end
  end
end

Include CurationConcern helper to provide all_type_tab method
Include CurationConcern helper to provide all_type_tab method
