[Koha-bugs] [Bug 31253] Item 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
Mon Jul 3 14:52:08 CEST 2023


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152909|0                           |1
        is obsolete|                            |

--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 152937
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152937&action=edit
Bug 31253: Item 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) Create an item with the barcode "MYTEST"
3) Browse to the staff side advanced search
4) Run a barcode search for "MY TEST"
5) Note no results are round
6) Apply this patch
7) Restart all the things!
8) Repeat your search
9) Note the item was found!

Signed-off-by: Michaela Sieber <michaela.sieber at kit.edu>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Edit: fixed typo in comment

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


More information about the Koha-bugs mailing list