Bug 31322 - Searching not working on the receive orders page
Summary: Searching not working on the receive orders page
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: 21.11
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-08 14:37 UTC by Holly
Modified: 2024-07-04 20:37 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
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 Holly 2022-08-08 14:37:41 UTC
On the invoice receive orders page there are two options to search. 1. The filtering options at the top of the pending orders table and 2. the search box above the table to the right hand side. 

I've tested on a few 21.11.09 sites and neither of these search options are working. 

When something is typed into either search option a "processing..." message flashes up for a moment and then disappears and the table is not narrowed down. On earlier releases, when searching with these features the table is narrowed down to match the search terms.

Go Acquisitions > Invoices and search for an invoice. On the "Invoices" table, find an entry with a status of open. Go to Actions > Details. On the new page, go to the "Adjustments" section and click "Go to receipt page" under that section. The new page it opens with the "Pending orders" table, is where the issue is.
Comment 1 Katrin Fischer 2022-08-08 17:41:42 UTC
Hi Holly, the receive page now uses an API based search. Can you test if you can see the libraries list in administration on these installations?
Comment 2 Holly 2022-08-09 07:47:21 UTC
Hi Katrin, yes I can see the libraries list.
Comment 3 Katrin Fischer 2022-08-09 08:30:55 UTC
There are some more things I have stumbled on in the past here:

* Make sure all the filters are empty/reset or test in a private window. 
* Make sure there is a closed basked with unreceived oder lines for this vendor.
* Check the browser developer tools for the API response when doing a search. That could help to locate the issue.
Comment 4 Katrin Fischer 2022-09-13 13:51:17 UTC
Hi Holly, did you find the problem/is this resolved?