Black list /type/content in Suggest. Closes issue #632

This commit is contained in:
Tom Morris 2013-02-11 17:43:58 -05:00
parent ab14198899
commit 98c64201ef

View File

@ -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;