Bug #20393
Foreman tasks table should be using index method instead of bulk_search
Difficulty:
Triaged:
Yes
Description
Currently we are using the foreman tasks bulk search api in katello for our tasks tables. We should move to using the index method instead as it supports pagination.
Related issues
Associated revisions
History
#4
Updated by Eric Helms almost 5 years ago
- Legacy Backlogs Release (now unused) changed from 281 to 286
#5
Updated by Walden Raines almost 5 years ago
- Category set to Web UI
- Assignee changed from Walden Raines to Dan Seethaler
- Target version set to 160
Here is some more information. The katello tasks page appears on many pages in the application. A couple of examples are Content Hosts -> tasks and Products -> tasks.
Basically we need to change this:
To use the index method here:
We should be able to accomplish that by using "queryPaged" from the bastion resource:
#6
Updated by Walden Raines almost 5 years ago
- Target version changed from 160 to 208
#7
Updated by Brad Buckingham almost 5 years ago
- Target version changed from 208 to 213
#8
Updated by Eric Helms almost 5 years ago
- Legacy Backlogs Release (now unused) changed from 286 to 295
#9
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6950 added
#10
Updated by Walden Raines almost 5 years ago
- Blocked by Bug #20933: Subtotal is being incorrectly set in tasks controller index added
#11
Updated by Anonymous almost 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|51de0437f9dd0255826401668288422cfc55910b.
#12
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/Katello/katello/pull/6949 added
Fixes #20393: Remove pagination when not used
This removes pagination on the bulk_search
tasks pages where it is no longer needed.
The bulk_search api only returns 10 results.
http://projects.theforeman.org/issues/20393