Bug 10597: fix Search to hold button on record details page
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 16 Jul 2013 16:50:25 +0000 (12:50 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 18 Jul 2013 13:57:53 +0000 (13:57 +0000)
commitb77af9326232d8512527040c4984b7bdc167c388
treed03a4398b275ee40a2c9db2942aab665e4e90c72
parent04ca81bc358f1bc6425e1cef431d9e4abfc744d8
Bug 10597: fix Search to hold button on record details page

The holds button in cat-toolbar is broken for "search to hold". It is a
split button rather than a dropdown button. Clicking the caret works
fine, but clicked the button sends you to the marc editor!

Test Plan:
1) View a patron's details page
2) Click 'search to hold'
3) Search for something
4) On the results page, click a result line's title link (
    catalogue/detail.pl )
5) Note the "Place hold" button is a split button, click the left half
    of the button, note it redirects you to the editor.
6) Apply this patch
7) Repeat steps 1-5

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc