Permalink
Browse files

Use query string instead of field filter. Closes #931

  • Loading branch information...
1 parent 14458a8 commit 04eb85f44a796dce7d7ebb1a88e58df4ded65848 Rashid Khan committed Feb 11, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/services/filterSrv.js
@@ -173,7 +173,7 @@ define([
case 'querystring':
return ejs.QueryFilter(ejs.QueryStringQuery(filter.query)).cache(true);
case 'field':
- return ejs.QueryFilter(ejs.FieldQuery(filter.field,filter.query)).cache(true);
+ return ejs.QueryFilter(ejs.QueryStringQuery(filter.field+":("+filter.query+")")).cache(true);
case 'terms':
return ejs.TermsFilter(filter.field,filter.value);
case 'exists':

0 comments on commit 04eb85f

Please sign in to comment.