Bug 4189 : Searching z39.50 without selecting any servers results in error message
authorTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 30 Mar 2011 20:08:57 +0000 (17:08 -0300)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sat, 16 Apr 2011 18:43:03 +0000 (14:43 -0400)
commitf017dab1102d86b62d79a2197dfdf90f6827dca2
treef371b63dc1b9452e0c02b56b8c42001c5318fce2
parent1a2e050fc0cf4d725ff41d7c3b7b276059958e93
Bug 4189 : Searching z39.50 without selecting any servers results in error message

This patch makes z3950_search.pl handle the situation properly, and z3950_search.tmpl
show a proper message instead of a program error. All this, in case the javascript
checks that alert the user (that at least one target has to be chosen)  are by-passed.

Regards
To+

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixed small translation problem in javascript alert message.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 4747f5adb25dce337fe295e3442e19bcacadeffa)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
cataloguing/z3950_search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tmpl