[freeside-commits] freeside/FS/FS Record.pm,1.238,1.239

Mark Wells mark at wavetail.420.am
Fri Dec 30 14:11:38 PST 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv14165/FS/FS

Modified Files:
	Record.pm 
Log Message:
improve behavior of != operator

Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -w -d -r1.238 -r1.239
--- Record.pm	13 Dec 2011 05:09:30 -0000	1.238
+++ Record.pm	30 Dec 2011 22:11:36 -0000	1.239
@@ -577,6 +577,8 @@
             qq-( $column $op "" )-;
           }
         }
+      } elsif ( $op eq '!=' ) {
+        qq-( $column IS NULL OR $column != ? )-;
       #if this needs to be re-enabled, it needs to use a custom op like
       #"APPROX=" or something (better name?, not '=', to avoid affecting other
       # searches



More information about the freeside-commits mailing list