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>
[% 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 %]
[% 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 %]