Bug 23944: (follow-up) Update circulation to use new library
authorOwen Leonard <oleonard@myacpl.org>
Fri, 1 Nov 2019 13:18:28 +0000 (13:18 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Jan 2020 09:08:38 +0000 (09:08 +0000)
commit54c821a9e8df8a0cbc0a74a83fe605cd27cd40ac
tree64a75f4e9f047936ac69b12934d927b886b8d7cf
parent68c9273fa76cedf8de48d4284693b5058ca5fdbd
Bug 23944: (follow-up) Update circulation to use new library

This patch updates the circulation page to use the new JavaScript Cookie
library for cookie management.

To test, apply the patch and open a patron record for checkout in the
staff client.

 - Click "Search to hold" in the toolbar and perform a catalog search
   which will return results.
 - On the search results page, the toolbar at the top of the results
   should include a split "Place hold" button. The button's menu should
   include "Place hold for <patron>" and "Forget <patron>" options. Test
   that these work correctly.
 - In the table of search results each title should include a "Place
   hold for <patron>" link.
 - Go to the checkouts page for a patron with one or more checked-out
   items.
   - Check the "Always show checkouts immediately" checkbox.
   - The patron's checkouts should load.
   - Open another patron for checkout who has checked-out items.
   - The table of checkouts should load automatically.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/js/checkouts.js