projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1069a
)
[FIX] the SearchQuery.add methods now properly removes the 'at' and 'merge' keys...
author
Gery Debongnie
<ged@openerp.com>
Fri, 10 Jan 2014 15:48:12 +0000
(16:48 +0100)
committer
Gery Debongnie
<ged@openerp.com>
Fri, 10 Jan 2014 15:48:12 +0000
(16:48 +0100)
bzr revid: ged@openerp.com-
20140110154812
-kazqirnie3kwtl4m
addons/web/static/src/js/search.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/search.js
b/addons/web/static/src/js/search.js
index
9c713e0
..
2585b38
100644
(file)
--- a/
addons/web/static/src/js/search.js
+++ b/
addons/web/static/src/js/search.js
@@
-85,7
+85,7
@@
my.SearchQuery = B.Collection.extend({
&& facet.get('field') === model.get('field');
});
if (previous) {
- previous.values.add(model.get('values'), options);
+ previous.values.add(model.get('values'), _.omit(options, 'at', 'merge'));
return;
}
B.Collection.prototype.add.call(this, model, options);