Bug 35866 - Filter in parcels.pl only checks 20 first results
Summary: Filter in parcels.pl only checks 20 first results
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-22 21:11 UTC by Caroline Cyr La Rose
Modified: 2024-03-05 17:54 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2024-01-22 21:11:26 UTC
When a library has a lot of invoices for a vendor, the filter box at the top of the invoice table only looks in the 20 first results. (The filter box on the left side is OK.)

To recreate:
1. Go to Acquisitions
2. Search for a vendor
3. Click "Receive shipments"
4. If there are less than 21 invoices, create some until you have at least 21
   4.1. Fill out the "Vendor invoice" field
   4.2. Click Save
   4.3. Click "Back" in your browser
   4.4. Redo steps 4.1 to 4.3
5. In the filter box at the top of the table, search for an invoice number on the second page of results
   --> No results
6. In the filter box on the left, search for an invoice number on the second page of results
   --> Result found
   --> Also note that when the filter is not used, it says "XX shipments" at the top of the page (mine says 36 shipments), but at the top and bottom of the table it says "Showing 1 to 20 of 20 entries"

The filter box at the top of the table seems to be defective. Maybe we could change the table to a datatable? On those types of tables, the filter box searches in all the entries, and the entry count is correct.