]> git.koha-community.org Git - koha.git/commit
Bug 13449 - Syndetics TOC will not display in some cases
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 12 Dec 2014 14:04:57 +0000 (09:04 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 18 Dec 2014 04:52:06 +0000 (17:52 +1300)
commitbe1d1df9c5b9b4768822e79672cd093cb93d5678
tree14c72dbdb9b90cdebe80994c1883eb9475ef5f4f
parent511ab472c3d1d2215ae6c3b2037a7e798eabc472
Bug 13449 - Syndetics TOC will not display in some cases

For reasons unknown, the table of contents data from Syndetics will not
display if there is no p element, even though within that if for the p
element there's a second one for the p element! This is neither good nor
necessary.

Test Plan:
1) Enable Syndetics
2) Find a record that should have a Syndetics TOC but doesn't
3) Apply this patch
4) Reload the page
5) Note the Syndetics TOC data now displays

Signed-off-by: Julius Fleschner <julius.fleschner@briarcliff.edu>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
I couldn't test but from reading the code this should not
have any negative consequences.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 22d9db667281319afd9811f75c4e6a0ee298d334)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt