diff --git a/public/lib/js/ajax.js b/public/lib/js/ajax.js
index fb5c14a1e..4f2da7d5d 100644
--- a/public/lib/js/ajax.js
+++ b/public/lib/js/ajax.js
@@ -915,6 +915,8 @@ function details_table(objid,theme) {
var buttons = "" + xmlEnt(value) + "" +
" " +
+ " " +
" ";
@@ -925,7 +927,7 @@ function details_table(objid,theme) {
if (resultjson.kibana.clickable_urls) {
var value = value === undefined ? "-" : value.toString();
// Detect URLs and inserts delimiters
- var value = value.replace(RegExp("(https?://([-\\w\\.]+)+(:\\d+)?(/([\\w/_\\.]*(\\?\\S+)?)?)?)", "g"),
+ var value = value.replace(RegExp("(https?://([-\\w\\.]+)+(:\\d+)?(/([\\,-\\w/_\\.]*(\\?\\S+)?)?)?)", "g"),
function (all, text, char) {
return "@KIBANA_LINK_START@" + text + "@KIBANA_LINK_END@";
}
@@ -991,7 +993,12 @@ function mSearch(field, value, mode) {
var query = field + ":" + "\"" + addslashes(value.toString()) + "\"";
}
var glue = queryinput != "" ? " AND " : " ";
- window.hashjson.search = queryinput + glue + query;
+ if (query.indexOf('FILTER') !== -1) {
+ window.hashjson.search = query.slice(7);
+ }
+ else {
+ window.hashjson.search = queryinput + glue + query;
+ }
setHash(window.hashjson);
scroll(0, 0);
}