From 5da2f785721f0401ff327d7b840073cfd55e3bea Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Tue, 7 Aug 2012 10:49:44 -0400 Subject: [PATCH] Bug 8520: fix authority display in autocomplete Content-Type: text/plain; charset="UTF-8" --- authorities/ysearch.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/authorities/ysearch.pl b/authorities/ysearch.pl index c9e7c47..bc6c565 100755 --- a/authorities/ysearch.pl +++ b/authorities/ysearch.pl @@ -71,7 +71,7 @@ my $i = 0; my $value = ''; my $authorized = $result->{'summary'}->{authorized}; foreach my $heading (@$authorized) { - $value .= $heading . ' '; + $value .= $heading->{heading} . ' '; } $value = "{\"summary\":\"" . $value . "\"" . "}"; print nsb_clean($value) . "\n"; -- 1.7.2.5