Bugzilla – Attachment 163195 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.30 KB, created by
Pedro Amorim
on 2024-03-15 10:55:34 UTC
(
hide
)
Description:
Bug 36327: Preparation: Update form
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-03-15 10:55:34 UTC
Size:
2.30 KB
patch
obsolete
>From 6f07b0d41ba4d6aa4762529cf535b0c8ce1f816d 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 >--- > .../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.30.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 36327
:
163195
|
163196
|
163197
|
163198
|
163228
|
163229
|
163230
|
163231