From 0dfd7d7112ff48209c4371eb810a4a5a7cb5cb3c Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Sun, 3 Mar 2013 09:17:48 -0500 Subject: [PATCH] Blacklist /common/resource in Suggest - extends fix for issue #632 --- main/webapp/modules/core/scripts/views/data-table/cell-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/webapp/modules/core/scripts/views/data-table/cell-ui.js b/main/webapp/modules/core/scripts/views/data-table/cell-ui.js index be03f67b7..424c51691 100644 --- a/main/webapp/modules/core/scripts/views/data-table/cell-ui.js +++ b/main/webapp/modules/core/scripts/views/data-table/cell-ui.js @@ -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;