Bugzilla – Attachment 125868 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), 901 bytes, created by
Jonathan Druart
on 2021-10-07 09:56:17 UTC
(
hide
)
Description:
Bug 24370: Allow resetting library to ANY
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-10-07 09:56:17 UTC
Size:
901 bytes
patch
obsolete
>From 5463cc67ac63ab767e48aa4139f4dddbe3d664da 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 > >--- > suggestion/suggestion.pl | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl >index 27a263cd2c0..5f69087ca06 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.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 24370
:
111821
|
112017
|
112044
|
112071
|
112072
|
112073
|
124085
|
125866
|
125867
|
125868
|
127181
|
127182
|
127183