Revision c92d3311
Added by Adam Price almost 10 years ago
app/models/katello/glue/elastic_search/content_view_puppet_environment.rb | ||
---|---|---|
module Katello
|
||
module Glue::ElasticSearch::ContentViewPuppetEnvironment
|
||
|
||
module ClassMethods
|
||
def sortable_fields
|
||
%w(name)
|
||
end
|
||
end
|
||
|
||
# TODO: break this up into modules
|
||
# rubocop:disable MethodLength
|
||
def self.included(base)
|
||
base.send :include, Ext::IndexedModel
|
||
base.send :extend, ClassMethods
|
||
|
||
base.class_eval do
|
||
index_options :extended_json => :extended_index_attrs,
|
Also available in: Unified diff
Revert "fixes #6573 - foretello should error when sorting by non-sortable field, BZ 1110431"
This reverts commit 3ec51c074a3decb6656f85195d98b39f57ccf430.
will re-introduce this fix at a later date when we have some testing
around sorting