[Koha-bugs] [Bug 17347] 'Renew' tab should ignore whitespace at begining and end of barcode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 17 20:23:37 CET 2019


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

Devinim <kohadevinim at devinim.com.tr> changed:

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

--- Comment #3 from Devinim <kohadevinim at devinim.com.tr> ---
Created attachment 84151
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84151&action=edit
Bug 17347: Ignore whitespace before and after on renewing

When an item is checked out, Koha ignores whitespace
at the beginning and the end of the entered barcode.
This makes life easier, if a barcode is C&P from another
page. This patch makes the renewal page behave the same.

To test:
- Checkout an item
- Renew the item from the renew tab or renewal page
  entering the barcode with leading and trailing
  whitespace
- "Barcode not found"
- Apply patch
- Try again
- Barcode should be found now

Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Devinim <kohadevinim at devinim.com.tr>

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


More information about the Koha-bugs mailing list