[freeside-commits] branch FREESIDE_4_BRANCH updated. e476b3f5c0dd830f9c3698a1a9a8ba8848e6a490
Jonathan Prykop
jonathan at 420.am
Thu Feb 25 11:03:59 PST 2016
The branch, FREESIDE_4_BRANCH has been updated
via e476b3f5c0dd830f9c3698a1a9a8ba8848e6a490 (commit)
from 05aed8f2f0c80f407c6828df8316335638d9dbb6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e476b3f5c0dd830f9c3698a1a9a8ba8848e6a490
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Thu Feb 25 12:56:28 2016 -0600
RT#38597: OQM - svc Circuit use and setup [fixed case handling]
diff --git a/FS/FS/svc_circuit.pm b/FS/FS/svc_circuit.pm
index 1a42efa..13d8484 100644
--- a/FS/FS/svc_circuit.pm
+++ b/FS/FS/svc_circuit.pm
@@ -221,9 +221,9 @@ sub label {
sub search_sql {
my ($class, $string) = @_;
my @where = ();
- push @where, 'LOWER(svc_circuit.circuit_id) = ' . dbh->quote($string);
- push @where, 'LOWER(circuit_provider.provider) = ' . dbh->quote($string);
- push @where, 'LOWER(circuit_type.typename) = ' . dbh->quote($string);
+ push @where, 'LOWER(svc_circuit.circuit_id) = LOWER(' . dbh->quote($string) . ')';
+ push @where, 'LOWER(circuit_provider.provider) = LOWER(' . dbh->quote($string) . ')';
+ push @where, 'LOWER(circuit_type.typename) = LOWER(' . dbh->quote($string) . ')';
'(' . join(' OR ', @where) . ')';
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/svc_circuit.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
More information about the freeside-commits
mailing list