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:
parent
5a81850fe4
commit
65e67dd7fc
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ sub get_suggestions {
|
|||
{
|
||||
'search' => "an=$auth->{'authid'}",
|
||||
relevance => $count--,
|
||||
label => $auth->{summary}->{mainentry}
|
||||
label => $auth->{summary}->{authorized}->[0]
|
||||
};
|
||||
}
|
||||
return \@results;
|
||||
|
|
Loading…
Reference in a new issue