Permalink
Browse files

Step 17.4: Reflect type changes in the parties search

1 parent 4f846ac commit a280dbdbb679b4e13b4b99ebaa288fe893e3095b @dotansimha dotansimha committed with DAB0mB Sep 27, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/imports/publications/parties.ts
@@ -60,7 +60,7 @@ function buildQuery(partyId?: string, location?: string): Object {
return {
$and: [{
- location: searchRegEx
+ 'location.name': searchRegEx
},
isAvailable
]

0 comments on commit a280dbd

Please sign in to comment.