Skip to content

Commit

Permalink
Scope to "/type/item" within Data.Collection.find.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael committed May 5, 2011
1 parent b261345 commit 7ac5412
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data.js
Expand Up @@ -1481,6 +1481,7 @@

// Find objects that match a particular query
find: function(query) {
query["type|="] = "/type/item";
return this.g.find(query);
},

Expand Down

0 comments on commit 7ac5412

Please sign in to comment.