Koha/koha-tmpl/opac-tmpl
Owen Leonard 65e58f30b1 Bug 10309: (Follow-up) Applying changes from Bug 10349
This patch applies the changes from Bug 10349, Don't show empty
Descriptions/Title notes tabs in OPAC and staff.

"The descriptions/title notes tab appears on the detail page in both
staff client and OPAC even if there are no notes. This is probably a
relic of the pre-T:T days when it wasn't possible to use || in an IF.
This patch adds a check for the various variables which might trigger
the display of the tab.

To test, apply the patch and view records in the OPAC and staff client
which do and do not have title notes attached (whether that be in the
MARC record or in the biblio.notes column). In the OPAC Syndetics
content should also be tested if possible. The descriptions/title notes
tab should only appear if there is content."

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works well. No errors

Tested on OPAC, records without notes don't show title notes tab.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-14 23:13:30 +00:00
..
bootstrap Bug 10309: (Follow-up) Applying changes from Bug 10349 2013-10-14 23:13:30 +00:00
ccsr Followup for bug 10320: minor bugfixes and style improvements 2013-09-08 07:04:02 +00:00
lib Bug 9916 - Use DataTables in the OPAC 2013-08-19 14:19:02 +00:00
prog Bug 10820: display item status as lost if item is both lost and on loan 2013-10-11 14:34:23 +00:00