app/models/katello/generic_content_unit.rb in katello-4.2.2 vs app/models/katello/generic_content_unit.rb in katello-4.3.0.rc1
- old
+ new
@@ -3,11 +3,13 @@
self.table_name = 'katello_generic_content_units'
include Concerns::PulpDatabaseUnit
CONTENT_TYPE = 'generic'.freeze
- scoped_search :on => :name, :complete_value => true
scoped_search :on => :id, :complete_value => true
+ scoped_search :on => :name, :complete_value => true
+ scoped_search :on => :version, :complete_value => true
+ scoped_search :on => :filename, :complete_value => true
def self.default_sort
order(:name)
end