Bugzilla – Attachment 11391 Details for
Bug 8581
Authority display doesn't like GND records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8581: don't display parentheses when we don't have a type
Bug-8581-dont-display-parentheses-when-we-dont-hav.patch (text/plain), 1.96 KB, created by
Jared Camins-Esakov
on 2012-08-06 18:03:34 UTC
(
hide
)
Description:
Bug 8581: don't display parentheses when we don't have a type
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-08-06 18:03:34 UTC
Size:
1.96 KB
patch
obsolete
>From 9aba4b5248b924199b48b6493a943411b1d3a454 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Mon, 6 Aug 2012 14:04:32 -0400 >Subject: [PATCH] Bug 8581: don't display parentheses when we don't have a type >Content-Type: text/plain; charset="UTF-8" > >Prior to this patch, see also references in certain authority records >(most notably GND records) were being followed by empty parentheses in >the search results display. This patch resolves that problem. >--- > .../en/includes/authorities-search-results.inc | 2 +- > .../en/includes/authorities-search-results.inc | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc >index cd99443..58f5f2d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc >@@ -26,7 +26,7 @@ > [% CASE 'broader' %](Broader heading) > [% CASE 'narrower' %](Narrower heading) > [% CASE 'parent' %](Immediate parent body) >- [% CASE %]([% type | html %]) >+ [% CASE %][% IF type %]([% type | html %])[% END %] > [% END %]</span>[% END %] > [% END %] > [% END %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc b/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc >index cd99443..58f5f2d 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc >@@ -26,7 +26,7 @@ > [% CASE 'broader' %](Broader heading) > [% CASE 'narrower' %](Narrower heading) > [% CASE 'parent' %](Immediate parent body) >- [% CASE %]([% type | html %]) >+ [% CASE %][% IF type %]([% type | html %])[% END %] > [% END %]</span>[% END %] > [% END %] > [% END %] >-- >1.7.2.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 8581
:
11391
|
11395
|
12630