Bugzilla – Attachment 133450 Details for
Bug 28633
Add a preferred name field to patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28633: (QA follow-up) Add preferred_name to ysearch
Bug-28633-QA-follow-up-Add-preferredname-to-ysearc.patch (text/plain), 1021 bytes, created by
Martin Renvoize (ashimema)
on 2022-04-20 10:20:33 UTC
(
hide
)
Description:
Bug 28633: (QA follow-up) Add preferred_name to ysearch
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-04-20 10:20:33 UTC
Size:
1021 bytes
patch
obsolete
>From 79c318658a5d33a2ec2dd58117e1567313373a05 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 20 Apr 2022 11:13:53 +0100 >Subject: [PATCH] Bug 28633: (QA follow-up) Add preferred_name to ysearch > >This adds preferred_name to the search fields in the autocomplete search >system. >--- > circ/ysearch.pl | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/circ/ysearch.pl b/circ/ysearch.pl >index c19031ad4f..bb440d7e58 100755 >--- a/circ/ysearch.pl >+++ b/circ/ysearch.pl >@@ -59,10 +59,11 @@ foreach my $p (@parts) { > push( > @params, > -or => [ >- surname => { -like => "%$p%" }, >- firstname => { -like => "%$p%" }, >- cardnumber => { -like => "$p%" }, >- ] >+ surname => { -like => "%$p%" }, >+ firstname => { -like => "%$p%" }, >+ preferred_name => { -like => "%$p%" }, >+ cardnumber => { -like => "$p%" }, >+ ] > ); > } > >-- >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 28633
:
123008
|
123009
|
123010
|
123658
|
125497
|
125498
|
125499
|
125500
|
126591
|
128968
|
128969
|
128970
|
130000
|
130001
|
130002
|
133445
|
133446
|
133447
|
133448
|
133449
|
133450
|
133451
|
133958
|
133959
|
133960
|
133961
|
133962
|
133963
|
133964
|
133965
|
166792
|
166793
|
166794
|
166813
|
166814
|
166815
|
166816
|
166817
|
167163
|
167164
|
173628
|
173629
|
173630
|
173631
|
173632
|
173633
|
173634
|
173664
|
173665
|
173666
|
173667
|
173668
|
173669
|
173670
|
173717
|
173718
|
173719
|
173813
|
173814
|
173815
|
173816
|
173826
|
173827
|
173828
|
173829
|
173930
|
173931
|
173932
|
173933
|
173934
|
173935
|
173936
|
174419
|
174420
|
174472
|
175177