Bug 32377: Set param skiptotals on call of GetBudgetHierarchy in acqui/histsearch.pl
authorEmmi Takkinen <emmi.takkinen@koha-suomi.fi>
Wed, 30 Nov 2022 10:33:19 +0000 (12:33 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 14:02:21 +0000 (11:02 -0300)
commit0f5daaa553bc63bd2c08212ee8db3d56c52781e9
tree06dcf3e05e47bc111e343911a0e949d0d42b952c
parent5249a0c1f0b9d498b3a2b6fcc55c6ef310b6e156
Bug 32377: Set param skiptotals on call of GetBudgetHierarchy in acqui/histsearch.pl

Calling GetBudgetHierarchy from acqui/histsearch.pl
is slow if param skiptotals is not used.

To test:
1. Open browsers Console -> Network (F12).
2. Navigate to Order search page and perform search.
=> Take a note how long it takes to load the Search results page.
3. Apply this patch.
4. Repeat step 2.
=> Page should now load faster.

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
acqui/histsearch.pl