Bug 24488: perf - Move holds search out of the loop
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Nov 2020 10:45:41 +0000 (11:45 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 8 Feb 2021 13:56:00 +0000 (14:56 +0100)
commit97a6cb4b90f9eedf5cb8d5f6fb3be8dd934ef52e
tree562a88993d154c0ada537d1e537925e8ac3cff43
parentb9bc3a11f1d9398d8c44a2a80fdfa93a14285ebf
Bug 24488: perf - Move holds search out of the loop

This will need attention from QA.
We are assuming that the hold with the highest priority has priority=1

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
circ/pendingreserves.pl