Blacklist /common/document in Suggest - fixes #632
This commit is contained in:
parent
6315036c82
commit
04668eb720
@ -376,7 +376,9 @@ DataTableCellUI.prototype._searchForMatch = function(suggestOptions) {
|
||||
elmts.clearButton.click(commitClear);
|
||||
elmts.cancelButton.click(dismiss);
|
||||
|
||||
var suggestOptions2 = $.extend({ align: "left" }, suggestOptions || { all_types: true });
|
||||
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
|
||||
if (suggestOptions2.service_url) {
|
||||
// Old style suggest API
|
||||
suggestOptions2.key = null;
|
||||
|
Loading…
Reference in New Issue
Block a user