Fix for Bug 3659, Add place hold option from patron checkout tab
authorOwen Leonard <oleonard@myacpl.org>
Mon, 17 Jan 2011 13:28:47 +0000 (08:28 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 24 Jan 2011 07:43:04 +0000 (20:43 +1300)
commitda2040634ed4f589c5f6b188ab3a3fac83d99a9b
tree2858b42b86b9c4228603b53c0119ea30b1e617ca
parenta8e1e544309bde4d622e2c3dfb8bd10e555e0057
Fix for Bug 3659, Add place hold option from patron checkout tab

Adds a button on patron-related pages, "Search to hold"
Clicking search to hold sets a cookie with the patron's
borrowernumber and sends the user to the search page.

On subsequent search results pages the user will have
the option to place holds specifically for the remembered
patron. This works on the search results page (single
and multiple hold) and on the detail page.

The saved cookie will time out after 10 minutes or
be erased when a new patron is loaded by circulation.pl

New jQuery plugin added: jquery.cookie.min.js

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
14 files changed:
catalogue/ISBDdetail.pl
catalogue/MARCdetail.pl
catalogue/detail.pl
catalogue/labeledMARCdetail.pl
catalogue/moredetail.pl
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.cookie.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl