From d10802f6033e903cabec4d1f4241763eeb21f330 Mon Sep 17 00:00:00 2001 From: Blou Date: Mon, 13 Apr 2015 14:49:42 -0400 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- C4/Breeding.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index 252d03b13d..18bf03bc2f 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 -- 2.39.5