[Koha-bugs] [Bug 28013] Improvements to CanBookBeRenewed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 7 10:47:39 CEST 2021


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

Joonas Kylmälä <joonas.kylmala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Passed QA
             Status|Passed QA                   |Signed Off
             Status|Signed Off                  |Passed QA
 Attachment #118950|0                           |1
        is obsolete|                            |
 Attachment #118951|0                           |1
        is obsolete|                            |
 Attachment #119125|0                           |1
        is obsolete|                            |
 Attachment #119126|0                           |1
        is obsolete|                            |
 Attachment #119127|0                           |1
        is obsolete|                            |
 Attachment #119253|0                           |1
        is obsolete|                            |

--- Comment #16 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Moving back to signed-off until I am able to upload the patches with my
sign-off (currently bugzilla is experiencing some difficulties)

--- Comment #17 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 119253
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119253&action=edit
Bug 28013: Performance improvements to CanBookBeRenewed

In the case of 'AllowRenewalIfOtherItemsAvailable' we check all existing
reserves against
all existing items. This patchset reduces the number of DB/subroutine calls

To test:
1 - Apply patch
2 - prove -v t/db_dependent/Circulation.t

Signed-off-by: Amit Gupta <amitddng135 at gmail.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>

--- Comment #18 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 119257
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119257&action=edit
Bug 28013: Performance improvements to CanBookBeRenewed

In the case of 'AllowRenewalIfOtherItemsAvailable' we check all existing
reserves against
all existing items. This patchset reduces the number of DB/subroutine calls

To test:
1 - Apply patch
2 - prove -v t/db_dependent/Circulation.t

Signed-off-by: Amit Gupta <amitddng135 at gmail.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list