From 27682e39b543a2de64ec97259cf41f6d77b4fe7c 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=UTF-8 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 --- .../intranet-tmpl/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 1d433e8..9a8ed8c 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.1.4