Commit eafbb794 authored by Sven Franck's avatar Sven Franck

removed wildcard character on default queries

parent 56e3950e
......@@ -5258,14 +5258,14 @@
// missing portal type?
if (!util.findKey(query_object, "query_list", "key", "portal_type")) {
obj.query = '(portal_type: "%' + type + '" AND ';
obj.query = '(portal_type: "' + type + '" AND ';
}
// NOTE: json only allows single quotes inside double quotes. Reverse
// and add passed query to querystring
obj.query += query_clean + ')';
} else {
obj.query = '(portal_type: "%' + type + '")';
obj.query = '(portal_type: "' + type + '")';
}
// set last query, so info_fields can easily be updated
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment