Skip to content

Commit

Permalink
Use query string instead of field filter. Closes #931
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Feb 11, 2014
1 parent 14458a8 commit 04eb85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/filterSrv.js
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 04eb85f

Please sign in to comment.