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)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 8 Sep 2016 19:45:27 +0000 (21:45 +0200)
commitfd3416ae47b8132b40b26d9bf8afb148e71794c0
tree24cb94a420ea66b1a1239b9515264f749265b6bb
parent5a682e08f170a1083442e18648e132d578f75374
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>
(cherry picked from commit 1fe9c40da4e71bde460133ee6248503ce1025999)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc