Bugzilla – Attachment 68033 Details for
Bug 15378
Remove 'lost' items from course reserves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15378: Allow removal of lost items from course reserves
Bug-15378-Allow-removal-of-lost-items-from-course-.patch (text/plain), 2.28 KB, created by
Jonathan Druart
on 2017-10-12 16:40:09 UTC
(
hide
)
Description:
Bug 15378: Allow removal of lost items from course reserves
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-10-12 16:40:09 UTC
Size:
2.28 KB
patch
obsolete
>From 33761be04e1003b8b7a592c9a2a6eba15f73d7bf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 4 Oct 2017 20:22:13 -0300 >Subject: [PATCH] Bug 15378: Allow removal of lost items from course reserves > >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 >--- > .../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 e07cbe538e..569265ab9d 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 >@@ -30,9 +30,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")); >- } > }); > }); > >@@ -208,8 +205,6 @@ > [% IF CAN_user_coursereserves_delete_reserves %] > [% IF cr.item.onloan %] > <a class="btn btn-default btn-xs disabled checkedout delete_item" href="#" data-toggle="tooltip" data-placement="left" title="This item is checked out"> >- [% ELSIF cr.item.itemlost %] >- <a class="btn btn-default btn-xs disabled itemlost delete_item" href="#" data-toggle="tooltip" data-placement="left" title="This item is lost"> > [% ELSE %] > <a class="btn btn-default btn-xs delete_item" href="course-details.pl?course_id=[% course.course_id %]&action=del_reserve&cr_id=[% cr.cr_id %]"> > [% END %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15378
:
68033
|
68071
|
70225