Bug 10309: (Follow-up) Applying changes from Bug 10349
authorOwen Leonard <oleonard@myacpl.org>
Mon, 7 Oct 2013 14:39:19 +0000 (10:39 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 23:13:30 +0000 (23:13 +0000)
commit65e58f30b1e239f1c06a98a140ce657d4f269de6
tree08ebc79a6ec6186e6412169b5f81db57882d22a1
parent850628743b05b8ba66b4485477d60745e3956c59
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt