Module: Card::Set::Abstract::CqlSearch::Format

Extended by:
Card::Set::AbstractFormat
Defined in:
card/tmpsets/set/mod035-card-mod-search/abstract/06_cql_search.rb,
card/tmpsets/set/mod036-card-mod-search/abstract/06_cql_search.rb

Instance Method Summary collapse

Instance Method Details

#card_content_limitObject



89
90
91
# File 'card/tmpsets/set/mod035-card-mod-search/abstract/06_cql_search.rb', line 89

def card_content_limit
  card.cql_hash&.dig :limit
end

#default_limitObject



85
86
87
# File 'card/tmpsets/set/mod035-card-mod-search/abstract/06_cql_search.rb', line 85

def default_limit
  card_content_limit || super
end

#search_paramsObject



81
82
83
# File 'card/tmpsets/set/mod035-card-mod-search/abstract/06_cql_search.rb', line 81

def search_params
  super.merge filter_and_sort_cql
end