Closed
Bug 892651
Opened 12 years ago
Closed 12 years ago
selecting a range while filtering the device list causes devices to be selected outside of the filter
Categories
(Testing Graveyard :: Mozpool, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dividehex, Assigned: dustin)
Details
Attachments
(1 file)
|
2.83 KB,
patch
|
mcote
:
review+
|
Details | Diff | Splinter Review |
I had tag a subset of devices with the comment '#badpanda' and filter for #badpanda in the lifeguard UI. Then selected the range by select the first device, holding shift and then selecting the last device in the filtered list. I then initiated a selftest and the selected subset.
But when i removed the filter tag, I saw that the entire list of devices was selected from the first to the last on the previously filtered list and the devices showed to ALL be pxebooting. :-{
| Reporter | ||
Updated•12 years ago
|
Summary: selecting a range while filtering the device list causes a devices to be selected outside of the filter → selecting a range while filtering the device list causes devices to be selected outside of the filter
| Assignee | ||
Comment 1•12 years ago
|
||
I confirmed this in my test environment. The range selection doesn't heed whether rows are visible.
Severity: normal → major
| Assignee | ||
Comment 2•12 years ago
|
||
http://datatables.net/docs/DataTables/1.9.0/DataTable.models.oSettings.html
aiDisplay is a list of the data indices of all visible table rows.
Assignee: nobody → dustin
Attachment #774200 -
Flags: review?(mcote)
| Assignee | ||
Comment 3•12 years ago
|
||
Bug 817762 closed the trees this morning, so I'd like to ship a new version of Mozpool Monday. Mark, you can r? this by then, I can squeeze it in.
Comment 4•12 years ago
|
||
Comment on attachment 774200 [details] [diff] [review]
bug892651.patch
Review of attachment 774200 [details] [diff] [review]:
-----------------------------------------------------------------
Looks and works great. Just a tiny nit, and even that was in the original version.
::: mozpool/html/ui/js/views-tables.js
@@ +142,5 @@
> + if (to_dispidx >= 0 && from_dispidx >= 0) {
> + // sort the two indexes so we can iterate from one to the other
> + if (from_dispidx > to_dispidx) {
> + var t;
> + t = from_dispidx;
Might as well combine this line and the previous.
Attachment #774200 -
Flags: review?(mcote) → review+
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•