Bugzilla – Attachment 168612 Details for
Bug 37186
Cannot delete a rotating collection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37186: Fixed deletion of rotating collections
Bug-37186-Fixed-deletion-of-rotating-collections.patch (text/plain), 3.05 KB, created by
Lucas Gass (lukeg)
on 2024-07-08 18:37:20 UTC
(
hide
)
Description:
Bug 37186: Fixed deletion of rotating collections
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-07-08 18:37:20 UTC
Size:
3.05 KB
patch
obsolete
>From 4ad7cf179cc4343b9a3c999b8f637d568812214c Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Mon, 8 Jul 2024 17:11:06 +0000 >Subject: [PATCH] Bug 37186: Fixed deletion of rotating collections > >To test: >1. Tools -> Rotating collections >2. Create a rotating collection >3. In new collection Actions -> Delete >4. Notice collection is not deleted >5. Apply patch >6. In new collection Actions -> Delete >7. Notice collection is deleted > >Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > .../modules/rotating_collections/rotatingCollections.tt | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt >index 4ddafa0a17..8ff33f7f88 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt >@@ -63,12 +63,7 @@ > <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-plus"></i> Manage items</a></li> > <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa-solid fa-right-left"></i> Transfer</a></li> > <li><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?op=edit&colId=[% collectionsLoo.colId | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a></li> >- <li><form id="delete_rc" action="/cgi-bin/koha/rotating_collections/editCollections.pl" method="post"> >- [% INCLUDE 'csrf-token.inc' %] >- <input type="hidden" name="op" value="cud-delete"> >- <input type="hidden" name="colId" value="[% collectionsLoo.colId | html %]"> >- <a class="confirmdelete"><i class="fa fa-trash-can"></i> Delete</a> >- </form> >+ <li><a class="confirmdelete submit-form-link" data-action="/cgi-bin/koha/rotating_collections/editCollections.pl" data-method="post" data-op="cud-delete" data-col-id="[% collectionsLoo.colId | html %]"><i class="fa fa-trash-can"></i> Delete</a> > </li> > </ul> > </div> >@@ -97,6 +92,7 @@ > [% INCLUDE 'datatables.inc' %] > [% Asset.js("js/tools-menu.js") | $raw %] > [% Asset.js("js/rotating-collections.js") | $raw %] >+ [% Asset.js("js/form-submit.js") | $raw %] > [% END %] > > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.39.2
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 37186
:
168610
|
168611
| 168612