https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20212 --- Comment #70 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Martin Renvoize from comment #67)
Generally this looks like it's going in the right direction to me.
I do wonder if we could preload the first page of results using the template to give the appearance of better performance on initial page load whilst still getting the benefit of serverside processing for the heavy lifting. (As discussed on Slack, see https://datatables.net/examples/server_side/defer_loading.html for possibilities)
This is really interesting and I will take a look at it for a follow-up patch/bug depending on the size of it.
However.. I'm not sure the API's is returning the same results as expected... attaching before and after shots for the table with the exact same database.
The ajax version appears to have considerably more results and many of them seem to contain malformed 'null' data?
Looking at this, it feels like the original version was hiding the bad rows (i.e. those orders without a basket, which is not something you can end-up with) . I consider it a feature LOL. -- You are receiving this mail because: You are watching all bug changes.