[Koha-bugs] [Bug 29114] Can not add barcodes with whitespaces at the beginning to the list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 6 04:52:16 CEST 2021


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

--- Comment #5 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Fridolin Somers from comment #2)
> A agree 100%, but I think we should trim also trailing whitespaces, like in
> check-out :
> https://git.koha-community.org/Koha-community/Koha/src/commit/
> 870e3e8e161f6da998c1deae216d7fdf0d0490e7/circ/circulation.pl#L159

Super, it is in patch :
+                    $barcode =~ s/^\s*|\s*$//g; # remove leading/trailing
whitespace

We should add "trailing" to bug description, release notes and commit message.

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


More information about the Koha-bugs mailing list