Bug 8581: don't display parentheses when we don't have a type
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. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
eb6effd2c2
commit
5bf01284e3
|
|
@ -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 %]
|
||||
|
|
|
|||
|
|
@ -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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue