Bug 40093

Summary: Datatables pagination double-up is confusing for invoices table
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P5 - low CC: dcook
Version: MainKeywords: Academy
Hardware: PC   
OS: Linux   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Invoices table showing two paginations

Description Aleisha Amohia 2025-06-09 02:06:34 UTC
Created attachment 183094 [details]
Invoices table showing two paginations

The invoices table shows two paginations which is confusing. If there are more than 20 invoices, the full count is shown, and then directly underneath the datatables count is shown and is different.

We should remove the datatables pagination and search to remove the confusion. It's not really needed when there is a search filter available on the left.

This change would achieve this:

@ koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt:276 @
         $(document).ready(function () {
             $("#parcelst").kohaTable({
                 paginate: false,
+                dom: 't',
             });
Comment 1 Owen Leonard 2025-06-18 13:51:34 UTC
Is it just me or do the non-JS pagination links not work?
Comment 2 Aleisha Amohia 2025-06-18 17:09:05 UTC
(In reply to Owen Leonard from comment #1)
> Is it just me or do the non-JS pagination links not work?

it's not just you, the whole pagination is a bit untrustworthy