forked from 0x2620/pandora
some more url parsing
This commit is contained in:
parent
085ed3240f
commit
66a7704144
1 changed files with 1 additions and 3 deletions
|
@ -189,12 +189,10 @@ $(function() {
|
||||||
ret = parseFind(subconditions[parseInt(v.substr(1, v.length - 2))]);
|
ret = parseFind(subconditions[parseInt(v.substr(1, v.length - 2))]);
|
||||||
} else {
|
} else {
|
||||||
kv = ((v.indexOf(":") > - 1 ? "" : ":") + v).split(":");
|
kv = ((v.indexOf(":") > - 1 ? "" : ":") + v).split(":");
|
||||||
Ox.print("kv", kv)
|
|
||||||
ret = $.extend({
|
ret = $.extend({
|
||||||
key: kv[0]
|
key: kv[0]
|
||||||
}, parseValue(kv[1]));
|
}, parseValue(kv[1]));
|
||||||
}
|
}
|
||||||
Ox.print("ret", ret)
|
|
||||||
return ret;
|
return ret;
|
||||||
});
|
});
|
||||||
return find;
|
return find;
|
||||||
|
@ -217,7 +215,7 @@ $(function() {
|
||||||
value.operator += "$";
|
value.operator += "$";
|
||||||
value.value = value.value.substr(0, value.value.length - 1);
|
value.value = value.value.substr(0, value.value.length - 1);
|
||||||
}
|
}
|
||||||
value.operator.replace("^$", "=");
|
value.operator = value.operator.replace("^$", "=");
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue