[freeside-commits] freeside/FS/FS svc_acct.pm,1.275,1.276
Ivan,,,
ivan at wavetail.420.am
Sat Jan 16 18:22:51 PST 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv18873
Modified Files:
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.275
retrieving revision 1.276
diff -u -d -r1.275 -r1.276
--- svc_acct.pm 6 Jan 2010 04:47:48 -0000 1.275
+++ svc_acct.pm 17 Jan 2010 02:22:49 -0000 1.276
@@ -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