Bugzilla – Attachment 127183 Details for
Bug 24370
Editing purchase suggestion changes the acquisition library to logged-in user's
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24370: Allow resetting library to ANY
Bug-24370-Allow-resetting-library-to-ANY.patch (text/plain), 964 bytes, created by
Martin Renvoize (ashimema)
on 2021-11-01 16:43:10 UTC
(
hide
)
Description:
Bug 24370: Allow resetting library to ANY
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-11-01 16:43:10 UTC
Size:
964 bytes
patch
obsolete
>From 59a16f8c68e9e5bf64edfe2100a03ff74c1c337e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 25 Aug 2021 13:55:36 +0200 >Subject: [PATCH] Bug 24370: Allow resetting library to ANY > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > suggestion/suggestion.pl | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl >index 27a263cd2c..5f69087ca0 100755 >--- a/suggestion/suggestion.pl >+++ b/suggestion/suggestion.pl >@@ -180,6 +180,9 @@ if ( $op =~ /save/i ) { > > $suggestion_only->{lastmodificationdate} = dt_from_string; > $suggestion_only->{lastmodificationby} = C4::Context->userenv->{number}; >+ $suggestion_only->{branchcode} = undef >+ if exists $suggestion_only->{branchcode} >+ && $suggestion_only->{branchcode} eq ""; > > &ModSuggestion($suggestion_only); > >-- >2.20.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 24370
:
111821
|
112017
|
112044
|
112071
|
112072
|
112073
|
124085
|
125866
|
125867
|
125868
|
127181
|
127182
| 127183