From c70270b3aa52f2956efbf62013905af4c632d732 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 4 Oct 2017 20:22:13 -0300 Subject: [PATCH] Bug 15378: Allow removal of lost items from course reserves MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It seems that this restriction is not necessary, it should be possible to remove lost items from course reserves. Test plan: Create a course and add reserve with a lost item => Without this patch the "Remove" button is disabled and the item cannot be removed from the course => With this patch applied the button is enable and the item can be removed Signed-off-by: Séverine QUEUNE Signed-off-by: Josef Moravec Signed-off-by: Jonathan Druart --- .../prog/en/modules/course_reserves/course-details.tt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt index 1d433e8538..9a8ed8c36d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt @@ -176,8 +176,6 @@ [% IF CAN_user_coursereserves_delete_reserves %] [% IF cr.item.onloan %] - [% ELSIF cr.item.itemlost %] - [% ELSE %] [% END %] @@ -225,9 +223,6 @@ if( $(this).hasClass("checkedout") ){ alert(_("This item cannot be removed. It is checked out")); } - if( $(this).hasClass("itemlost") ) { - alert(_("This item cannot be removed. It is lost")); - } }); }); -- 2.39.5