]> git.koha-community.org Git - koha.git/commit
Bug 24185: Make holds page faster - Call to subroutine moved below "if"
authorAndrew Nugged <nugged@gmail.com>
Thu, 19 Dec 2019 16:20:24 +0000 (18:20 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 25 Mar 2020 09:40:22 +0000 (09:40 +0000)
commitedef63e5a890a80d4cd9b02a4b6cbd7fe3d72890
tree56afe33cbfcb4fadbf4d6634a8c898d3bdbcc09e
parent7ecd21a1e463db9c504b0d8929b11f7cfdcdb031
Bug 24185: Make holds page faster - Call to subroutine moved below "if"

`$on_shelf_holds` was assigned before "return .. if" but not used in that code piece,
so sometimes it was useless. Moved assignment after "return .. if".

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