From 45e8323285eb475adc307dcd75faa4c7d65e8897 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 13 Sep 2012 07:38:58 -0400 Subject: [PATCH] Bug 8209 follow-up: fix failing test in AuthorityFile suggestion plugin The BuildSummary output changed slightly, resulting in labels not showing up and a test failing. --- Koha/SuggestionEngine/Plugin/AuthorityFile.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Koha/SuggestionEngine/Plugin/AuthorityFile.pm b/Koha/SuggestionEngine/Plugin/AuthorityFile.pm index 2636f83..54a7248 100644 --- a/Koha/SuggestionEngine/Plugin/AuthorityFile.pm +++ b/Koha/SuggestionEngine/Plugin/AuthorityFile.pm @@ -80,7 +80,7 @@ sub get_suggestions { { 'search' => "an=$auth->{'authid'}", relevance => $count--, - label => $auth->{summary}->{mainentry} + label => $auth->{summary}->{authorized}->[0] }; } return \@results; -- 1.7.2.5