Bug #20778
closed
Scheduling remote job from hosts table with select all targets only the current page of hosts
Added by Adam Ruzicka over 7 years ago.
Updated over 6 years ago.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1477550
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Have more than one page of hosts
2. Go to hosts index
3. Enter search query to match more than one page of hosts
4. Click the select all checkbox
5. Click "Select all X hosts"
6. Select action > schedule remote job
Actual results:
Only the hosts from the viewed page are selected as targets for REX.
Expected results:
All selected hosts are selected as targets for REX
Additional info:
See attachment
Files
- Category set to Foreman
- Target version set to 113
Only the hosts from the viewed page are selected as targets for REX.
This is the normal, and I would argue expected behaviour of "select all" checkbox -- it applies to currently displayed items only (pls. take a look at gmail and/or other web-based UIs to verify this). I would also argue that selecting items not present on the screen is bad UI -- we'd be mixing UI-based and bulk actions.
One way to resolve the issue would be to have "show all items" option on the that screen. Another alternative would be to have a dedicated bulk execution UI which would apply to all hosts only, without ability to pick hosts individually.
Actually, there is similar option as in GMail (see the screenshot), to select all hosts: in this case, the search should be used for targeting.
- Status changed from New to Ready For Testing
- Assignee set to Anonymous
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/350 added
- Related to Bug #23629: Fix redirect parameters on hosts page added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF