[Koha-bugs] [Bug 31252] Advanced search in staff interface should call barcodedecode if the search index is a barcode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 28 14:41:19 CEST 2022


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 138202
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138202&action=edit
Bug 31252: Advanced search in staff interface should call barcodedecode if the
search index is a barcode

We should run any inputted barcode through barcodedecode before passing it to
any subroutines.
This was missed during the initial development of bug 26351.

Test Plan:
1) Set itemBarcodeInputFilter to "Remove spaces from"
2) Browse to the staff side advanced search
3) Run a barcode search for "MY TEST"
4) Note the message returned is:
   No results match your search for 'bc,wrdl: "MY TEST"'.
5) Apply this patch
6) Restart all the things!
7) Repeat your search
8) Note the message returned is:
   No results match your search for 'bc,wrdl: "MYTEST"'.
9) Note the lack of the space between MY and TEST!

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


More information about the Koha-bugs mailing list