[Koha-bugs] [Bug 24185] 'If all unavailable' state for 'on shelf holds' makes holds page very slow if there's a lot of items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 24 16:47:47 CET 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #101607|0                           |1
        is obsolete|                            |
 Attachment #101608|0                           |1
        is obsolete|                            |
 Attachment #101609|0                           |1
        is obsolete|                            |
 Attachment #101611|0                           |1
        is obsolete|                            |

--- Comment #30 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 101613
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101613&action=edit
Bug 24185: Make holds page faster - improved "if"

`$can_item_be_reserved eq 'OK'` moved in `&&` before
`IsAvailableForItemLevelRequest`
to cut away with static known values before calling to more resource consuming
subroutine.

Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.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