Bug #20778
closedScheduling remote job from hosts table with select all targets only the current page of hosts
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
Updated by Adam Ruzicka over 7 years ago
- Category set to Foreman
- Target version set to 113
Updated by Anonymous almost 7 years ago
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.
Updated by Ivan Necas almost 7 years ago
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.
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Anonymous
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/350 added
Updated by Anonymous over 6 years ago
- Related to Bug #23629: Fix redirect parameters on hosts page added
Updated by Anonymous over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_plugin|6c11475d7ca987cd68b296020e94508a69064b34.