Merge remote-tracking branch 'origin/new/bug_8209'
[koha_fer] / Koha / SuggestionEngine / Plugin / AuthorityFile.pm
index 38e3a54..fdc41c5 100644 (file)
@@ -96,7 +96,7 @@ sub get_suggestions {
           {
             'search'  => "an=$auth->{'authid'}",
             relevance => $count--,
-            label     => $auth->{summary}->{authorized}->[0]
+            label     => $auth->{summary}->{authorized}->[0]->{heading}
           };
     }
     return \@results;