details:   https://code.openbravo.com/erp/devel/pi/rev/23efa6079aa6
changeset: 15437:23efa6079aa6
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Fri Feb 10 22:35:58 2012 +0100
summary:   Related to issue 18557: Filter Expression: comparing to other field 
(column) values

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
 |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 6abe3901cda8 -r 23efa6079aa6 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
      Fri Feb 10 22:17:13 2012 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js
      Fri Feb 10 22:35:58 2012 +0100
@@ -506,12 +506,14 @@
   allowExpressions: true,
   validateOnExit: false,
   validateOnChange: false,
-  keyPressFilterNumeric: '[0-9.,-=<>!#orand ]',
+  keyPressFilterNumeric: null, // allow any key to support =.name for example
   doBlurLogic: false,
   operator: 'equals',
   validOperators: ['equals', 'lessThan', 'greaterThan', 'notEqual',
                    'lessThan', 'lessThanOrEqual', 'greaterThanOrEqual',
-                   'between', 'betweenInclusive', 'isNull', 'isNotNull'
+                   'between', 'betweenInclusive', 'isNull', 'isNotNull',
+                   'equalsField', 'notEqualField', 'greaterThanField',
+                   'lessThanField', 'greaterOrEqualField', 'lessOrEqualField'
                    ],
   
   // prevent handling of equal symbol in filteritem

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to