[Koha-bugs] [Bug 23414] Improve performance of C4/XSLT/buildKohaItemsNamespace

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 6 10:11:50 CET 2019


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

--- Comment #25 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 95085
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95085&action=edit
Bug 23414: Easy readability and simplify logic in buildKohaItemsNamespace

This patch improves true/false logic and avoid autovivication.
Also note that xml_escape already deals with empty string.

An unecessary call to GetReserveStatus is removed.

Signed-off-by: Liz Rea <wizzyrea at gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list