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

This reverts commit 98c64201ef.
This commit is contained in:
Tom Morris 2013-02-21 12:45:49 -05:00
parent 317bf35445
commit ed07a4d489

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 type:/type/content)" }); // blacklist documents & images
filter: "(not type:/common/document)" }); // blacklist documents
if (suggestOptions2.service_url) {
// Old style suggest API
suggestOptions2.key = null;