Skip to content

Commit

Permalink
Merge PR #1545 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by simahawk
  • Loading branch information
shopinvader-git-bot committed Nov 12, 2024
2 parents 0b031e8 + 3e989fc commit 90e8b48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shopinvader_algolia/models/se_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

from odoo import models

from odoo.addons.connector_algolia.utils import data_merge


class SeIndex(models.Model):
_inherit = "se.index"
Expand All @@ -18,5 +20,5 @@ def _get_settings(self):
self.backend_id, self.lang_id
)
if facetting_values:
data.update({"attributesForFaceting": facetting_values})
data = data_merge(data, {"attributesForFaceting": facetting_values})
return data

0 comments on commit 90e8b48

Please sign in to comment.