Bugzilla – Attachment 125979 Details for
Bug 29125
Use Koha::Patron object in C4:Utils::DataTables::Members.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29125: Fix 'Unknown column'
Bug-29125-Fix-Unknown-column.patch (text/plain), 1.12 KB, created by
Jonathan Druart
on 2021-10-08 14:46:53 UTC
(
hide
)
Description:
Bug 29125: Fix 'Unknown column'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-10-08 14:46:53 UTC
Size:
1.12 KB
patch
obsolete
>From 7d6e7966fe12893d2ac1b7cb35daf6e249a8311c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 8 Oct 2021 16:46:35 +0200 >Subject: [PATCH] Bug 29125: Fix 'Unknown column' > >--- > C4/Utils/DataTables/Members.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Utils/DataTables/Members.pm b/C4/Utils/DataTables/Members.pm >index d75ecf0914b..9ecb7b312eb 100644 >--- a/C4/Utils/DataTables/Members.pm >+++ b/C4/Utils/DataTables/Members.pm >@@ -123,10 +123,10 @@ sub search { > > if ( defined $searchfields->{$searchfieldstype} ) { > for my $searchfield ( split /,/, $searchfields->{$searchfieldstype} ) { >- push @{$search_params->{'-or'}}, {$searchfield => { -like => $term }}; >+ push @{$search_params->{'-or'}}, {"me.$searchfield" => { -like => $term }}; > } > } else { >- push @{$search_params->{'-or'}}, {'me.' . $dbh->quote_identifier($searchfieldstype) => { -like => $term }}; >+ push @{$search_params->{'-or'}}, {"me.$searchfieldstype" => { -like => $term }}; > } > > >-- >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 29125
:
125374
|
125375
|
125376
| 125979