Bugzilla – Attachment 11423 Details for
Bug 8520
Authorities display incorrectly in staff results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8520: fix authority display in autocomplete
Bug-8520-fix-authority-display-in-autocomplete.patch (text/plain), 1.05 KB, created by
Tomás Cohen Arazi (tcohen)
on 2012-08-07 14:59:58 UTC
(
hide
)
Description:
Bug 8520: fix authority display in autocomplete
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2012-08-07 14:59:58 UTC
Size:
1.05 KB
patch
obsolete
>From 6acfaa24ef7ca8db737bb0512b9a4d5582ef6cb2 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >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" > >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> >--- > authorities/ysearch.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/authorities/ysearch.pl b/authorities/ysearch.pl >index c9e7c47..6584123 100755 >--- a/authorities/ysearch.pl >+++ b/authorities/ysearch.pl >@@ -69,9 +69,9 @@ my $i = 0; > foreach my $result (@$results) { > if($i > 0){ print ","; } > my $value = ''; >- my $authorized = $result->{'summary'}->{authorized}; >+ my $authorized = $result->{'summary'}->{'authorized'}; > foreach my $heading (@$authorized) { >- $value .= $heading . ' '; >+ $value .= $heading->{'heading'} . ' '; > } > $value = "{\"summary\":\"" . $value . "\"" . "}"; > print nsb_clean($value) . "\n"; >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8520
:
11194
|
11274
|
11420
|
11421
|
11422
|
11423
|
11947
|
11955