https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42617
--- Comment #2 from Pedro Amorim <[email protected]> --- Created attachment 199201 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199201&action=edit Bug 42617: (41512 follow-up) Remove ownPagination and fix recordsFiltered propagation ownPagination set recordsFiltered on json.data instead of json, causing DataTables to display "NaN total entries". Remove the artificial 5000 mechanism, propagate real counts from plugins that provide them, and fall back to actual result counts for those that don't. Also removes a dead drawCallback overwritten before it could fire. Test plan: 1) Install this test version of the unpaywall plugin: https://github.com/openfifth/koha-plugin-ill-avail-unpaywall/releases/tag/test 2) Enable ILLModule and ILLCheckAvailability 3) Configure the plugin and add any emaill address 4) Create a new ILL request: <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 5) Enter '42' for cardnumber, any library, and any DOI e.g. '123'. 6) Verify that pagination works as expected Before patch, pagination controls dont show and the following label is shown: No entries to show (filtered from NaN total entries) Signed-off-by: Edith Speller <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ 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/
