Comment 3 for bug 1712854

Revision history for this message
Kathy Lussier (klussier) wrote : Re: web client: Sorting for view record holds interface

Thanks Cesar! I tested this today and discovered a problem that may also be an issue with the other grids using clientsort. The sorting works as expected on a small set of data, but once the dataset is large enough to require paging, it looks like we are only sorting one page at a time.

I tested the above code on a record with 177 holds. My display defaults to showing 25 holds at a time. If I sort by last name on the first page of holds, it appears to only sort those 25 holds that appeared on the first page. If I click to page to the 2nd page of results, it no longer sorts by last name. If I click back to the first page, it is sorting by last name again, but it appears to now be sorting the 50 holds that displayed on the first two pages.

I have a screencast available at https://drive.google.com/file/d/1e57ve2MdcPrgHpDfQ-LVqMyoCH_zhBjG/view that shows this behavior.

I haven't checked the other interfaces to see if the same thing happens there.