[Koha-bugs] [Bug 30359] GetBudgetHierarchy is slow on order receive page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 31 20:25:27 CEST 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #139765|0                           |1
        is obsolete|                            |
 Attachment #139766|0                           |1
        is obsolete|                            |

--- Comment #6 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 140017
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140017&action=edit
Bug 30359: GetBudgetHierarchy is slow on order receive page

This patch adds skiptotals parameter to GetBudgetHierarchy so calculating
totals can be skipped from some pages.

Test plan:
1) Open browser's Inspect -> Network
2) Go to receive orders
3) Check the timings for page load
4) Apply the patch
5) Refresh the page
6) Check the timings again
7) prove t/db_dependent/Budgets.t

Sponsored-by: Koha-Suomi Oy

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

Signed-off-by: Joonas Kylmälä <joonas.kylmala at iki.fi>

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


More information about the Koha-bugs mailing list