Bugzilla – Attachment 163228 Details for
Bug 36327
Items view - Deletion of items is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36327: Preparation: Update form
Bug-36327-Preparation-Update-form.patch (text/plain), 2.38 KB, created by
Jonathan Druart
on 2024-03-15 13:01:03 UTC
(
hide
)
Description:
Bug 36327: Preparation: Update form
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-03-15 13:01:03 UTC
Size:
2.38 KB
patch
obsolete
>From 52e2837c02c1c1a2b2d6c1f96ab89957c93f3e7b Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 15 Mar 2024 10:47:43 +0000 >Subject: [PATCH] Bug 36327: Preparation: Update form > >Each delete form now contains the itemnumber to better unambiguosly identify the the itemnumber it refers to >The delete button now carries the itemnumber it refers to > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >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 87da410f1f9..87756e48197 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -137,14 +137,14 @@ > <li class="print_label"><a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=add&number_type=itemnumber&number_list=[% item.itemnumber | uri %]" target="_blank" >Print label</a></li> > [% UNLESS item.nomod %] > <li> >- <form action="/cgi-bin/koha/cataloguing/additem.pl" method="post"> >+ <form id="[% item.itemnumber | html %]-delete-item-form" action="/cgi-bin/koha/cataloguing/additem.pl" method="post"> > [% INCLUDE 'csrf-token.inc' %] > <input type="hidden" name="op" value="cud-delitem" /> > <input type="hidden" name="biblionumber" value="[% item.biblionumber | html %]" /> > <input type="hidden" name="itemnumber" value="[% item.itemnumber | html %]" /> > <input type="hidden" name="searchid" value="[% searchid | html %]" /> > </form> >- <a class="delete" href="#">Delete</a> >+ <a class="delete" data-item="[% item.itemnumber | html %]" href="#">Delete</a> > </li> > [% END %] > [% END %] >-- >2.34.1
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 36327
:
163195
|
163196
|
163197
|
163198
| 163228 |
163229
|
163230
|
163231