You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2009/02/10 13:04:44 UTC

svn commit: r742946 - /incubator/sling/trunk/extensions/dojo-sling/src/main/resources/dojox/data/SlingNodeStore.js

Author: fmeschbe
Date: Tue Feb 10 12:04:35 2009
New Revision: 742946

URL: http://svn.apache.org/viewvc?rev=742946&view=rev
Log:
SLING-851 Apply patch by Paul Mietz Egli (Thanks)

Modified:
    incubator/sling/trunk/extensions/dojo-sling/src/main/resources/dojox/data/SlingNodeStore.js

Modified: incubator/sling/trunk/extensions/dojo-sling/src/main/resources/dojox/data/SlingNodeStore.js
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/dojo-sling/src/main/resources/dojox/data/SlingNodeStore.js?rev=742946&r1=742945&r2=742946&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/dojo-sling/src/main/resources/dojox/data/SlingNodeStore.js (original)
+++ incubator/sling/trunk/extensions/dojo-sling/src/main/resources/dojox/data/SlingNodeStore.js Tue Feb 10 12:04:35 2009
@@ -490,8 +490,8 @@
 			
           for (var value in query[property]) {
             //console.log("checking value " + query[property][value]);
-        	  if (!this._containsValue(checkItem, property, checkItem.node[property], regexpList[property])){
-        		  onematch = false;
+        	  if (this._containsValue(checkItem, property, query[property][value], regexpList[property])){
+        		  onematch = true;
   			  }
           }
           if (!onematch) {