Bugzilla – Attachment 145925 Details for
Bug 32409
Cannot search cashups using non-latin-1 scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32409: Fix cashup searching with non latin-1 chars
Bug-32409-Fix-cashup-searching-with-non-latin-1-ch.patch (text/plain), 1.94 KB, created by
Jonathan Druart
on 2023-02-01 10:10:30 UTC
(
hide
)
Description:
Bug 32409: Fix cashup searching with non latin-1 chars
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-02-01 10:10:30 UTC
Size:
1.94 KB
patch
obsolete
>From 10c3b429ac1acd055b92c5eaeb602192bd10864d Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 6 Dec 2022 11:02:20 -0300 >Subject: [PATCH] Bug 32409: Fix cashup searching with non latin-1 chars >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch fixes a problem with the way queries are passed to the API so >cashups are searchable with non-laint1 chars. > >To test: >1. Have two superlibrarian users, one with non-latin1 chars on the name > (e.g. Ø®Ùسة) >2. Setup a debit type that can be sold. >3. Use the POS module to have some activity, using both your regular > user and the other one. >4. Go to the register you used, and choose 'Transaction history' >5. Perform a couple cashups with each user ('Record cashup'). >6. Look at the 'Cashup history' table >=> SUCCESS: You see cashups for both users >7. Use the 'Search' filter with latin chars >=> SUCCESS: Your user with only latin1 chars is displayed on the table >8. Repeat, using some non-latin1 char found on the other user >=> FAIL: Table is not refreshed or filtered! >9. Apply this patch >10. Reload the page >11. Repeat 8 >=> SUCCESS: Filtering works now! >12. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >index c479770d01b..bafe7494eb7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >@@ -438,7 +438,6 @@ > "ajax": { > "url": cashups_table_url > }, >- "header_filter": true, > "embed": [ > "manager" > ], >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32409
:
144449
|
144461
| 145925