Blacklist /common/resource in Suggest - extends fix for issue #632
This commit is contained in:
parent
23cc319fd7
commit
0dfd7d7112
@ -379,7 +379,7 @@ DataTableCellUI.prototype._searchForMatch = function(suggestOptions) {
|
||||
|
||||
var suggestOptions2 = $.extend({ align: "left" }, suggestOptions
|
||||
|| { all_types: true, // FIXME: all_types isn't documented for Suggest. Is it still implemented?
|
||||
filter: "(not (any type:/common/document type:/type/content))" }); // blacklist documents and images
|
||||
filter: "(not (any type:/common/document type:/type/content type:/common/resource))" }); // blacklist documents and images
|
||||
if (suggestOptions2.service_url) {
|
||||
// Old style suggest API
|
||||
suggestOptions2.key = null;
|
||||
|
Loading…
Reference in New Issue
Block a user