mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Tests and patch for group filter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user