Project

General

Profile

« Previous | Next » 

Revision 3ec51c07

Added by Adam Price almost 10 years ago

fixes #6573 - foretello should error when sorting by non-sortable field, BZ 1110431

View differences:

app/models/katello/glue/elastic_search/marketing_product.rb
module Katello
module Glue::ElasticSearch::MarketingProduct
module ClassMethods
def sortable_fields
[]
end
end
def self.included(base)
base.send :extend, ClassMethods
base.class_eval do
index_name "#{Katello.config.elastic_index}_marketing_product"
end

Also available in: Unified diff