Project

General

Profile

Actions

Bug #4074

closed

Content View Package Filter rules will only filter up to 10 items

Added by Katello Issue Migration almost 11 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Due to the way the elastic search query is called in package_rule.rb:

results = Package.search(unit[:name], 0, 0, [repo.pulp_id],
[:nvrea_sort, "ASC"], :all, 'name' ).collect(&:filename).compact

Only the first 10 results are received since a page size of 0 is being defined which defaults to ES's default of 10 (i think?)

Other types (errata, etc..) may have this issue, not sure.

Created: jlsherrill on July 08, 2013 18:30 +00:00
Imported from https://api.github.com/repos/Katello/katello/issues/2605


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #4071: Package#autocomplete_name is not working for page_sizeDuplicate01/16/2014Actions
Actions #1

Updated by Eric Helms over 10 years ago

  • Has duplicate Bug #4071: Package#autocomplete_name is not working for page_size added
Actions #2

Updated by Eric Helms over 10 years ago

  • Category set to 111
  • Difficulty set to easy
  • Triaged set to Yes
Actions #3

Updated by Eric Helms almost 9 years ago

  • Status changed from New to Resolved

Elasticsearch has been removed in Katello 2.4

Actions #4

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF