[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
Mon Mar 28 07:58:03 CEST 2022


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

Johanna Räisä <johanna.raisa at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |johanna.raisa at koha-suomi.fi
                   |ity.org                     |

--- Comment #1 from Johanna Räisä <johanna.raisa at koha-suomi.fi> ---
Created attachment 132283
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132283&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

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


More information about the Koha-bugs mailing list