incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r742946 - /incubator/sling/trunk/extensions/dojo-sling/src/main/resources/dojox/data/SlingNodeStore.js
Date Tue, 10 Feb 2009 12:04:44 GMT
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) {



Mime
View raw message