Black list /type/content in Suggest. Closes issue #632
This commit is contained in:
parent
ab14198899
commit
98c64201ef
@ -378,7 +378,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 type:/common/document)" }); // blacklist documents
|
||||
filter: "(not type:/common/document type:/type/content)" }); // blacklist documents & images
|
||||
if (suggestOptions2.service_url) {
|
||||
// Old style suggest API
|
||||
suggestOptions2.key = null;
|
||||
|
Loading…
Reference in New Issue
Block a user