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.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Jared Camins-Esakov 2012-09-13 07:38:58 -04:00 committed by Paul Poulain
parent 5a81850fe4
commit 65e67dd7fc

View file

@ -80,7 +80,7 @@ sub get_suggestions {
{
'search' => "an=$auth->{'authid'}",
relevance => $count--,
label => $auth->{summary}->{mainentry}
label => $auth->{summary}->{authorized}->[0]
};
}
return \@results;