]> git.koha-community.org Git - koha.git/commit
Bug 30085: Consolidate querycoutn code and only check if needed
authorNick Clemens <nick@bywatersolutions.com>
Fri, 11 Feb 2022 19:49:49 +0000 (19:49 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 23 Feb 2022 08:27:29 +0000 (22:27 -1000)
commitf44e797c76ea2339b8ff2e4f10721e5c283a14e4
treec7525aa37df71d78cf93717b9b283c0940d5acfa
parentaa7bffc1a3f2fa3b75b0cb5b089dc9dfa713624d
Bug 30085: Consolidate querycoutn code and only check if needed

Similar to first patch, move a count only conditionally used into
the conditional

This could be updated to use DBIC, but the itemtype conditionals
add complexity

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Reserves.pm