[Koha-bugs] [Bug 10349] Don't show empty Descriptions/Title notes tabs in OPAC and staff

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 25 21:35:24 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10349

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19967|0                           |1
        is obsolete|                            |

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 20604
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20604&action=edit
[PASSED QA] 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 reocrd 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: Mirko Tietgen <mirko at abunchofthings.net>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
That's better - thx Owen!
Works nicely and passes all tests.
Tested in staff and OPAC, also in combination with NotesBlacklist
hiding all notes.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list