Filtering for max price works, but it only finds proposals with exactly that price. The parameters are passed to Mongo as {maxPrice: n} which makes it an "equals" filter. Should be "less or equal than" (see Mongoose shorthands for those kinds of queries).
Filtering for max price works, but it only finds proposals with exactly that price. The parameters are passed to Mongo as {maxPrice: n} which makes it an "equals" filter. Should be "less or equal than" (see Mongoose shorthands for those kinds of queries).