[Koha-bugs] [Bug 32406] Cannot search pending orders using non-latin-1 scripts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 5 23:58:25 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32406

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
Created attachment 144432
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144432&action=edit
Bug 32406: Switch acq datatable from headers to query param

This patch changes the pending orders datatable from using the
x-koha-query header to the "q" query parameter, so that it is
able to support UTF-8 encoded scripts rather than just Latin-1
scripts.

Test plan:

1. Apply patch
2. Go to
http://localhost:8081/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=29
3. Change title from "Gairm" to "五" (alternatively use "cœur" or Arabic title)
4. Create a basket containing multiple records including bib 29 五
5. Close the basket
6. Receive shipment
7. You should be on a page like the following:
http://localhost:8081/cgi-bin/koha/acqui/parcel.pl?invoiceid=3
8. In the search box, type in 五
9. Note that you see a "Processing..." box and then the
results are filtered to just show the order for 五

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list