https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18148
--- Comment #25 from David Cook <[email protected]> --- (In reply to Tomás Cohen Arazi (tcohen) from comment #4) > (In reply to Owen Leonard from comment #2) > > The list of lists in the OPAC is paginated server-side, so adding sorting > > would require one of these methods: > > > > 1. Add sorting to the query, including handling of ascending and descending > > and the ability to order by the number of titles on the list. > > > > 2. Remove the server-side pagination and use DataTables to sort and paginate > > the all the results client-side. This would be adequate only if it isn't > > expected that there might be a very large number of lists. > > > > 3. Remove the server-side pagination and re-implement the table with an AJAX > > datasource, doing AJAX pagination. > > 4. Add an API route for this, and use the features we've recently added > (specially bug 24561). It would make sorting by any column just trivial. After doing some investigating, I think that option 1 (or rather option 1 with reduced functionality) might be the only feasible one. Option 3/4 would be great but the current API endpoints added aren't sufficient for this purpose, so they'd either need to be refactored or new API endpoints added. There's a bit of UI complexity that's unique to lists. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
