Closed anjackson closed 1 year ago
The deselection process does deselect all checked boxes, but it also reorders the list by a different criteria, which is probably not desired
For example, if we wanted to see all the outstanding queued licences for all the LDLs, it would present that list as ordered by "Created Date", by default: https://dev.webarchive.org.uk/act/crawlpermissions/list?organisation=-1&sel=deselectall
If the list is short, this isn't an issue, but it's usually the case that the outstanding list can be 100+ licences over a few pages of results. Currently, the deselection fix not only unticks the boxes, it also reorders the list so that results are ordered by the "Name" column, which doesn't preserve the initial order of the "Created Date"; some users may be confused by this.
The same list now deselected, but now also reordered by "Name":
Deselection works as expected, the order is retained, and the checkboxes are unchecked. Thanks Mindy
Start at https://www.webarchive.org.uk/act/crawlpermissions/list?organisation=-1
Click button, goes to https://www.webarchive.org.uk/act/crawlpermissions/list?organisation=&sel=deselectall
And throws the following error, presumably because the
organisation=-1
is missing?