Bugzilla – Attachment 187295 Details for
Bug 30303
Add ability to select which values to retain when merging patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30303: (follow-up) Only copy values if merge returns results
Bug-30303-follow-up-Only-copy-values-if-merge-retu.patch (text/plain), 777 bytes, created by
Brendan Lawlor
on 2025-10-02 14:17:35 UTC
(
hide
)
Description:
Bug 30303: (follow-up) Only copy values if merge returns results
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2025-10-02 14:17:35 UTC
Size:
777 bytes
patch
obsolete
>From 3596ff16b6796a554a5716fec01f5a70343c4d22 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Thu, 2 Oct 2025 14:16:32 +0000 >Subject: [PATCH] Bug 30303: (follow-up) Only copy values if merge returns > results > >--- > members/merge-patrons.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/merge-patrons.pl b/members/merge-patrons.pl >index 5ee0ccea77..21427c41f1 100755 >--- a/members/merge-patrons.pl >+++ b/members/merge-patrons.pl >@@ -102,7 +102,7 @@ if ( $op eq 'show' ) { > keeper => $keeper, > results => $results > ); >- if ($copy) { >+ if ( $copy && $results ) { > $keeper->set( \%data )->store(); > } > } catch { >-- >2.39.5
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 30303
:
186382
|
186383
|
186572
|
187269
|
187295
|
187306
|
187307
|
187308
|
187309