Class: WinewooCore::Services::Finders::Producers::KeywordsProducersFinder
- Inherits:
-
ProducersFinder
- Object
- ProducersFinder
- WinewooCore::Services::Finders::Producers::KeywordsProducersFinder
- Defined in:
- lib/winewoo_core/services/finders/producers/keywords_producers_finder.rb
Instance Method Summary collapse
Methods inherited from ProducersFinder
Constructor Details
This class inherits a constructor from WinewooCore::Services::Finders::Producers::ProducersFinder
Instance Method Details
#find ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/winewoo_core/services/finders/producers/keywords_producers_finder.rb', line 4 def find query = WinewooCore::Repositories::Mongo::Queries::ProducerQuery.new query = query.from_interpro(@interpro.id) if @interpro query.full_text_search(@filters.query) .page(@page || 1) .per(@per_page || Kaminari::config.default_per_page) end |