Tests and patch for group filter

This commit is contained in:
Will Marshall
2014-06-27 15:01:12 +10:00
parent 8bd8d811b1
commit e8ba36041b
2 changed files with 35 additions and 1 deletions

View File

@@ -5,6 +5,6 @@ Darkswarm.filter "groups", (Matcher)->
groups.filter (group)=>
Matcher.match([
group.name, group.description, group.long_description
group.name, group.long_description
], text) || group.enterprises.some (e)->
Matcher.match [e.name], text