[freeside-commits] freeside/FS/FS svc_acct.pm,1.268.2.6,1.268.2.7
Ivan,,,
ivan at wavetail.420.am
Sat Jan 16 18:22:53 PST 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv18880
Modified Files:
Tag: FREESIDE_1_9_BRANCH
svc_acct.pm
Log Message:
remove svcnum from searchable fields for svc_acct... custnum and invnum are user-visible, other database ids, not so much. also, breaks phone number search w/current Pg, RT#7000
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.268.2.6
retrieving revision 1.268.2.7
diff -u -d -r1.268.2.6 -r1.268.2.7
--- svc_acct.pm 6 Jan 2010 04:48:41 -0000 1.268.2.6
+++ svc_acct.pm 17 Jan 2010 02:22:51 -0000 1.268.2.7
@@ -436,13 +436,7 @@
$class->search_sql_field('username', $string ).
' ) ';
} else {
- ' ( '.
- $class->search_sql_field('username', $string).
- ( $string =~ /^\d+$/
- ? 'OR '. $class->search_sql_field('svcnum', $string)
- : ''
- ).
- ' ) ';
+ $class->search_sql_field('username', $string).
}
}
More information about the freeside-commits
mailing list