3
0
Fork 0

Merge PR #2644 into 14.0

Signed-off-by gurneyalex
14.0
OCA-git-bot 2023-10-23 11:54:03 +00:00
commit cf1921e960
1 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ odoo.define("web_edit_user_filter/static/src/js/backend.js", function (require)
var selectedFacet = self.model.get("filters").filter(function (facet) {
return (
facet.type === facet_type &&
facet.groupId === facetId &&
facet.groupId == facetId &&
facet.isActive === true
);
});
@ -129,7 +129,7 @@ odoo.define("web_edit_user_filter/static/src/js/backend.js", function (require)
var FavFacets = [];
var currentFacet = self.model.get(
"filters",
(f) => f.type === "favorite" && f.groupId === facetId
(f) => f.type === "favorite" && f.groupId == facetId
);
if (currentFacet[0].groupBys.length) {
_.each(currentFacet[0].groupBys, function (description) {