don't put empty filters in the search
This commit is contained in:
parent
bd855021cd
commit
8472cb99a2
1 changed files with 1 additions and 0 deletions
|
|
@ -1175,6 +1175,7 @@ WebGUI.Admin.LocationBar.prototype.updateLocationBarQuery
|
||||||
var filter = this.filters[i];
|
var filter = this.filters[i];
|
||||||
if ( filter.type == "title" ) {
|
if ( filter.type == "title" ) {
|
||||||
var value = filter.inputElem.value;
|
var value = filter.inputElem.value;
|
||||||
|
if ( !value ) continue;
|
||||||
var quote = "";
|
var quote = "";
|
||||||
if ( value.match(/\s/) ) {
|
if ( value.match(/\s/) ) {
|
||||||
quote = '"';
|
quote = '"';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue