Bug 8209 follow-up: another correction for BuildSummary API
[koha-ffzg.git] / Koha / SuggestionEngine / Plugin / AuthorityFile.pm
index 54a7248..eb4a1c1 100644 (file)
@@ -80,7 +80,7 @@ sub get_suggestions {
           {
             'search'  => "an=$auth->{'authid'}",
             relevance => $count--,
-            label     => $auth->{summary}->{authorized}->[0]
+            label     => $auth->{summary}->{authorized}->[0]->{heading}
           };
     }
     return \@results;