[Koha-bugs] [Bug 30085] Improve performance of CanItemBeReserved

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 18 15:32:01 CET 2022


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #130829|0                           |1
        is obsolete|                            |
 Attachment #130830|0                           |1
        is obsolete|                            |
 Attachment #130831|0                           |1
        is obsolete|                            |
 Attachment #130832|0                           |1
        is obsolete|                            |

--- Comment #10 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 130856
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130856&action=edit
Bug 30085: Reduce scope of holds count / today holds count

We retrieve two counts that are only needed if rules for hold limits are
defined.
The DB counts should only be fetched once the rules are confirmed to exist

Further improvement would be possiblke by allowing them to be passed in (or
cached?)
from CanBookBeReserved as they rely only on patron/biblionumber and not item
specific information

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.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