Skip to content

Commit

Permalink
fix for issue planetfederal#191 : allow LIKE substrings in QueryBuild…
Browse files Browse the repository at this point in the history
…er form (comments)
  • Loading branch information
justb4 committed Jul 22, 2013
1 parent 132ee8e commit 6d7929c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/script/widgets/QueryPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ gxp.QueryPanel = Ext.extend(Ext.Panel, {
getFilter: function() {
var attributeFilter = this.attributeQuery && this.filterBuilder.getFilter();

// If LIKE comparison substrings are enabled, wrap their string literals in wildcards
if (attributeFilter && this.likeSubstring) {
attributeFilter = this.wrapWildCards(attributeFilter);
}
Expand Down

0 comments on commit 6d7929c

Please sign in to comment.