[Koha-bugs] [Bug 12550] Add ability to delay loading of patron's checkouts in circulation and patron details

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 10 16:30:36 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12550

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 29609
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29609&action=edit
Bug 12550 - Add ability to delay loading of patron's checkouts in circulation
and patron details

Now that a patron's checkouts are loaded asynchronously, we can further
improve Koha's performance by not loading the checkouts table when it is
not needed. For example, if a librarian is checking out 5 items to a
patron, we really don't need to load the table during the scanning of
items 1 to 4, just for item 5. Another example would be browsing to the
patron details table in order to change a patron's password.

I propose we add two separate system preferences to add a timer for
loading the patron's checkouts table, one for circulation and one for
patron details. That way a library can choose to have enough delay so
that most librarians can scan items repeatedly without loading the
checkouts table, and can have the patron details table load more quickly
if they wish. In addition, setting one or both timeouts to 0 will cause
the system to act as it currently does.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Test circulation and patron details,
   no changes should be noted
4) Set CheckoutsTableSecondsToLoadCirculation and
CheckoutsTableSecondsToLoadPatronDetails
   to some number of seconds.
5) Test again, note tables load after the set number of seconds
6) Test the "Load now" button, note it triggers the table to load immediately

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


More information about the Koha-bugs mailing list