details:   https://code.openbravo.com/erp/devel/pi/rev/c231790422b7
changeset: 23014:c231790422b7
user:      Guillermo Gil <guillermo.gil <at> openbravo.com>
date:      Mon May 12 17:03:21 2014 +0200
summary:   Fixed issue 25808:Filtering the * organization does not work properly

wildCard removed to avoid strange behavior on filtering '*'
* character was used as wildCard, on filtering by * org instead of using ==* it 
was using /glob/*

diffstat:

 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
 |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r b96c7d42fc3e -r c231790422b7 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
--- 
a/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
  Mon May 12 13:37:00 2014 +0200
+++ 
b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
  Mon May 12 17:03:21 2014 +0200
@@ -871,4 +871,11 @@
 
 isc.builtinTypes.textArea = {
   inheritsFrom: "text"
-};
\ No newline at end of file
+};
+
+//delete the wildCard to avoid strange behaviour when filtering '*'
+//see issue 25808
+delete isc.DataSource.getSearchOperators().equals.wildCard;
+delete isc.DataSource.getSearchOperators().iEquals.wildCard;
+delete isc.DataSource.getSearchOperators().notEqual.wildCard;
+delete isc.DataSource.getSearchOperators().iNotEqual.wildCard;
\ No newline at end of file

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to