Project

General

Profile

« Previous | Next » 

Revision c92d3311

Added by Adam Price almost 10 years ago

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

View differences:

app/models/katello/glue/elastic_search/package.rb
module Katello
module Glue::ElasticSearch::Package
module ClassMethods
def sortable_fields
%w(nvrea nvra)
end
end
# TODO: break up into modules
# rubocop:disable MethodLength
def self.included(base)
base.class_eval do
include Glue::ElasticSearch::BackendIndexedModel
extend ClassMethods
def index_options
{

Also available in: Unified diff