Refactoring query communication into service
This commit is contained in:
Vendored
+9
File diff suppressed because one or more lines are too long
@@ -107,6 +107,10 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.pointer:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ function top_field_values(docs,field,count) {
|
||||
}
|
||||
|
||||
function add_to_query(original,field,value,negate) {
|
||||
var not = negate ? "NOT " : "";
|
||||
var not = negate ? "-" : "";
|
||||
if(value !== '')
|
||||
var query = field + ":" + "\"" + addslashes(value.toString()) + "\"";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user