facet: {
category: this.attrs.string,
field: this,
- values: [{label: value, value: value}]
+ values: [{label: value, value: value, operator: 'ilike'}]
},
expand: this.expand.bind(this),
}]);
return facetValue.get('label');
},
make_domain: function (name, operator, facetValue) {
+ operator = facetValue.get('operator') || operator;
+
switch(operator){
case this.default_operator:
return [[name, '=', facetValue.get('value')]];
+ case 'ilike':
+ return [[name, 'ilike', facetValue.get('value')]];
case 'child_of':
return [[name, 'child_of', facetValue.get('value')]];
}