Description
Jonathan Druart
2016-08-22 12:45:12 UTC
Created attachment 54688 [details] [review] 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. Created attachment 54689 [details] [review] Bug 17157: Same for "More" Here I decided to redirect to the mainpage. These patches are not ideal but could provide a workaround. Bug 16750 fails to provide a correct fix. Created attachment 54713 [details] [review] 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> Created attachment 54714 [details] [review] Bug 17157: Same for "More" Here I decided to redirect to the mainpage. Works as dexcribed. Signed-off-by: Marc Véron <veron@veron.ch> Created attachment 54952 [details] [review] [PASSED QA] 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> Created attachment 54954 [details] [review] [PASSED QA] Bug 17157: Same for "More" Here I decided to redirect to the mainpage. Works as dexcribed. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Pushed to master for 16.11, thanks Jonathan! Pushed in 16.05. Will be in 16.05.04. 2nd patch pushed to 3.22.x, will be in 3.22.11 |