diff --git a/js/search/search_form_criteria_raw.js b/js/search/search_form_criteria_raw.js index 21185be80..ca7f27244 100644 --- a/js/search/search_form_criteria_raw.js +++ b/js/search/search_form_criteria_raw.js @@ -9,6 +9,7 @@ $(function() // default options options: { + 'label': '', // Computed by server }, // the constructor @@ -71,14 +72,7 @@ $(function() { if(sTitle === undefined) { - if(this.options.oql !== '') - { - sTitle = this.options.oql; - } - else - { - sTitle = this._makeOQLExpression(); - } + sTitle = this.options.label; } this._super(sTitle); },