Bug 40093 - Datatables pagination double-up is confusing for invoices table
Summary: Datatables pagination double-up is confusing for invoices table
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: PC Linux
: P5 - low minor
Assignee: Bugs List
QA Contact:
URL:
Keywords: Academy
Depends on:
Blocks:
 
Reported: 2025-06-09 02:06 UTC by Aleisha Amohia
Modified: 2025-06-18 17:09 UTC (History)
1 user (show)

See Also:
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 (86.39 KB, image/png)
2025-06-09 02:06 UTC, Aleisha Amohia
Details

Note You need to log in before you can comment on or make changes to this bug.
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