Bugzilla – Attachment 162235 Details for
Bug 34077
writeoff_debts without --confirm doesn't show which accountline records it would have been written off
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34077: Allow to use --category-code as the only filter option
Bug-34077-Allow-to-use---category-code-as-the-only.patch (text/plain), 980 bytes, created by
Julian Maurice
on 2024-02-16 08:39:16 UTC
(
hide
)
Description:
Bug 34077: Allow to use --category-code as the only filter option
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2024-02-16 08:39:16 UTC
Size:
980 bytes
patch
obsolete
>From f7cdfd1c8dc1112f6769fcaff35067be109e7ba3 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 16 Feb 2024 09:31:27 +0100 >Subject: [PATCH] Bug 34077: Allow to use --category-code as the only filter > option > >--category-code was not checked in the "at least one filter option" >check but it is clearly a filter option. >--- > misc/cronjobs/writeoff_debts.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/writeoff_debts.pl b/misc/cronjobs/writeoff_debts.pl >index 5ac7ca89fc1..5fa93f790be 100755 >--- a/misc/cronjobs/writeoff_debts.pl >+++ b/misc/cronjobs/writeoff_debts.pl >@@ -32,7 +32,7 @@ if ( !$confirm && !$verbose ) { > > @type = split( /,/, join( ',', @type ) ); > >-if ( !$file && !@type && !$before && !$after ) { >+if ( !$file && !@type && !$before && !$after && !@category_code ) { > say STDERR "Missing required filter option: at least one filter option should be used"; > pod2usage(2); > } >-- >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 34077
:
157230
|
159598
|
159987
|
161772
|
161773
|
161774
|
162234
|
162235
|
167403
|
167404