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

Kyle M Hall <k...@bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #165685|0                           |1
        is obsolete|                            |

--- Comment #2 from Kyle M Hall <k...@bywatersolutions.com> ---
Created attachment 165687
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165687&action=edit
Bug 36672: Circulation rules are performing too many lookups

Looking at the template, for every section after the main rules block we loop
over categories or itemtypes, and lookup the value for each rule name.

In systems with large numbers of categories and item types this becomes very
slow.

In the rules section, we have already built a hash of rules by category and
itemtype - we should continue to use this throughout the page.

Test Plan:
1) Apply this patch
2) For each rule section, create and delete a rule
3) No change in behavior should be noted!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to