[Koha-bugs] [Bug 32266] Large amount of late orders slows the service

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 16 19:38:03 CET 2022


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 144699
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144699&action=edit
Bug 32266: Add new syspref DefaultLateOrderFilterDaysAgo

Some libraries might have large amounts of late orders that
slow down opening the lateorders.pl. E.g. patch of 2000
orders takes about 40 seconds to open, larger patches lead
to a proxy error.

This patch adds new syspref DefaultLateOrderFilterDaysAgo.
With this libraries can control how many days old late orders
should be for them to show in late orders listing.

To test:
1. Open browsers console (F12) and from there Network tab.
2. Navigate to Acquisitions -> Late Orders.
=> Take a note from browsers console how long it takes to open late orders
listing.
3. Apply this patch, update you database and restart your services if needed.
4. Set some value to syspref DefaultLateOrderFilterDaysAgo (999 is max).
5. Load Late orders page again.
=> Loading page should now be significantly faster.
=> Only orders which

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Amit Gupta <amit.gupta at informaticsglobal.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list