From db044d8552f967cf73b545e5cdd29f6ca9723c68 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Thu, 28 May 2026 09:40:37 -0400 Subject: [PATCH] Bug 42701: Fix editable class on additem.pl When editing the items on a biblio record, you should be able to select an item to edit by clicking anywhere on the item row. This functionality was lost because the "editable" class was not getting added correctly to the table row. This patch fixes that issue. To test: 1. Find a biblio record that has at least one item 2. Click on Edit > Manage items 3. In the table that lists editable items, click on any cell of any item (other than the Actions button) --> Nothing happens; the buttons to "Edit item" and "Delete item" do not appear as expected 4. Apply patch and refresh the page 5. Repeat step 3 --> The buttons to "Edit item" and "Delete item" appear Signed-off-by: Barbara Johnson Signed-off-by: Laura_Escamilla Signed-off-by: Pedro Amorim --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index f504962d6f..3edfcd6a15 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -131,7 +131,7 @@ [% END %] [% END %] [% IF can_be_edited %] - [% tr_class.push = 'editable' %] + [% tr_class.push('editable') %] [% END %] [% UNLESS can_be_edited %]