Bugzilla – Attachment 167404 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), 1.02 KB, created by
Martin Renvoize
on 2024-06-04 15:58:12 UTC
(
hide
)
Description:
Bug 34077: Allow to use --category-code as the only filter option
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2024-06-04 15:58:12 UTC
Size:
1.02 KB
patch
obsolete
>From d2d9361827f4a6eb7718bb908e3feab8e31acc3e 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. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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 ede37ba9004..ec990c41a39 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.45.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 34077
:
157230
|
159598
|
159987
|
161772
|
161773
|
161774
|
162234
|
162235
|
167403
| 167404