summaryrefslogtreecommitdiff
path: root/addons/board/static/src/js/dashboard.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-03-16 14:01:45 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commite1b68dae50a0ffd8eadeafd823acb328c429b7fe (patch)
tree395582b27a9e374390a0cda780f13b8fc22c5116 /addons/board/static/src/js/dashboard.js
parentf738edb1d65b5f92436f8ac0b69de42639a071e4 (diff)
[FIX] web, *: fix domain building without CompoundDomain
* board, google_spreadsheet Commit 8e0c7ccc77f358601b0701536fcb33842ca324a6 got rid of the CompoundDomain class but did not adapt the code correctly. - Domains have to be concatened, not regrouped in a big array - String domains have to be converted to array - "OR" joining must normalize subdomains first (add explicit "AND"s)
Diffstat (limited to 'addons/board/static/src/js/dashboard.js')
-rw-r--r--addons/board/static/src/js/dashboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/board/static/src/js/dashboard.js b/addons/board/static/src/js/dashboard.js
index 522b7fb19c2..4e6ab81fb66 100644
--- a/addons/board/static/src/js/dashboard.js
+++ b/addons/board/static/src/js/dashboard.js
@@ -404,7 +404,7 @@ FavoriteMenu.include({
domain = this.searchview.dataset.get_domain() || [];
_.each(search_data.contexts, context.add, context);
_.each(search_data.domains, function (d) {
- domain.push(Domain.prototype.stringToArray(d));
+ domain.push.apply(domain, Domain.prototype.stringToArray(d));
});
context.add({