Bug 17157: Fix middle click on "Search" drowndown menu
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 22 Aug 2016 12:36:39 +0000 (13:36 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Sep 2016 14:05:28 +0000 (14:05 +0000)
commit1fe9c40da4e71bde460133ee6248503ce1025999
tree81660a8a20ee4a64bd22ecbd032d9267ea1b37ed
parenta2a56ca441f33fb3772b89b85b0b40873b60e4e6
Bug 17157: Fix middle click on "Search" drowndown menu

If you save an item and right click on "Search" or "More" you will get
a software error:
Can't call method "fields" on an undefined value at
/usr/share/koha/intranet/cgi-bin/cataloguing/additem.pl line 742

You will now be redirected to the adv search form.

Wors as described.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc