From 0b11b77caa86a3ec7c6e9fec7902c2c2bd5bd54a Mon Sep 17 00:00:00 2001 From: Blou Date: Mon, 13 Apr 2015 14:49:42 -0400 Subject: [PATCH] [SIGNED OFF] Bug 13987 - Fix server name in z39.50 authority search results When doing an Auth search through z3950, the resulting table has the first column (servers name) always empty. TEST 1) once logged into the intranet, go to Authorities. 2) Click New from z39.50, fill appropriatly for a successful search. 3) Acknowledge first column is empty. Always. 4) Apply the (very simple) patch. 5) Do another search, validate column is not empty anymore. Signed-off-by: Nick Clemens --- C4/Breeding.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index b5a4717..90d4225 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -619,7 +619,7 @@ sub Z3950SearchAuth { $oConnection[$s] = create ZOOM::Connection($option1); $oConnection[$s]->connect( $server->{host}, $server->{port} ); $serverhost[$s] = $server->{host}; - $servername[$s] = $server->{name}; + $servername[$s] = $server->{servername}; $encoding[$s] = ($server->{encoding}?$server->{encoding}:"iso-5426"); $s++; } ## while fetch -- 1.9.1