Page suggestion/suggestion.pl calls CanUserUseBudget() in a loop, will must use a uniq Koha::Patron object of the logged in user. When there are many budgets and funds this takes some time. Test plan : Compare performance with and without patch with many budgets and funds (see test plan of Bug 35921) Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit |
||
|---|---|---|
| .. | ||
| suggestion.pl | ||