Created attachment 43168 [details] screenshot After Bug 14354, when user without permission to edit items, goes to page: /cgi-bin/koha/catalogue/detail.pl?biblionumber=xxx, table with item info is corrupted. See screenshot attached. Looks like additional '<td>', are unnecessary. A patch will follow.
Created attachment 43170 [details] [review] Bug 14966:Table header broken at detail.tt For user without item edit permission, table at catalogue/detail.pl is corrupted. Test plan: 1) Log in as staff member, without edit item permission. 2) Go to biblio view, with items attached: /cgi-bin/koha/catalogue/detail.pl?biblionumber=X. Confirm that table does not display correctly. 3) Apply patch. 4) Repeat steps 1 and 2. Confirm patch works.
Created attachment 43172 [details] [review] Bug 14966:Table header broken at detail.tt For user without item edit permission, table at catalogue/detail.pl is corrupted. Test plan: 1) Log in as staff member, without edit item permission. 2) Go to biblio view, with items attached: /cgi-bin/koha/catalogue/detail.pl?biblionumber=X. Confirm that table does not display correctly. 3) Apply patch. 4) Repeat steps 1 and 2. Confirm patch works. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This one fixes a regression on stable branches 3.20.x and 3.18.x and should be backported on the next release.
Created attachment 43325 [details] [review] [PASSED QA] Bug 14966:Table header broken at detail.tt For user without item edit permission, table at catalogue/detail.pl is corrupted. Test plan: 1) Log in as staff member, without edit item permission. 2) Go to biblio view, with items attached: /cgi-bin/koha/catalogue/detail.pl?biblionumber=X. Confirm that table does not display correctly. 3) Apply patch. 4) Repeat steps 1 and 2. Confirm patch works. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Patch pushed to master. Thanks Rafal!
Pushed to 3.20.x will be in 3.20.5
This was released in 3.18.12 - sorry I missed it when I was updating bugs. Liz