Bugzilla – Attachment 180952 Details for
Bug 13870
Add warnings about subscriptions and orders when deleting items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13870: Add warns even if edition / deletion is requested from the bibliodetails table
Bug-13870-Add-warns-even-if-edition--deletion-is-r.patch (text/plain), 1.21 KB, created by
Thibaud Guillot (thibaud_g)
on 2025-04-15 09:30:45 UTC
(
hide
)
Description:
Bug 13870: Add warns even if edition / deletion is requested from the bibliodetails table
Filename:
MIME Type:
Creator:
Thibaud Guillot (thibaud_g)
Created:
2025-04-15 09:30:45 UTC
Size:
1.21 KB
patch
obsolete
>From 403843301e12b53d24cff2561f78bdc65f767c6c Mon Sep 17 00:00:00 2001 >From: Thibaud Guillot <thibaud.guillot@biblibre.com> >Date: Fri, 28 Mar 2025 15:17:18 +0100 >Subject: [PATCH] Bug 13870: Add warns even if edition / deletion is requested > from the bibliodetails table > >--- > tools/batchMod.pl | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/tools/batchMod.pl b/tools/batchMod.pl >index 3ea19b52cc..e3ed793494 100755 >--- a/tools/batchMod.pl >+++ b/tools/batchMod.pl >@@ -233,9 +233,11 @@ if ( $op eq "cud-show" || $op eq "show" ) { > @notfounditemnumbers = grep { !exists $itemdata{$_} } @contentlist; > } > } else { >- if ( defined $biblionumber && !@itemnumbers ) { >+ if ( defined $biblionumber ) { > my $biblio = Koha::Biblios->find($biblionumber); >- @itemnumbers = $biblio ? $biblio->items->get_column('itemnumber') : (); >+ if ( !@itemnumbers ) { >+ @itemnumbers = $biblio ? $biblio->items->get_column('itemnumber') : (); >+ } > foreach my $itemnumber (@itemnumbers) { > $linked_orders_subscriptions{$itemnumber} = []; > my $order = GetOrderFromItemnumber($itemnumber); >-- >2.25.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 13870
:
147641
|
152235
|
152236
|
155576
|
175440
|
176858
|
179579
|
179580
|
179581
|
179834
|
180952
|
183442
|
183556