Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Fix / attributes_metadata contains too many attributes#384

Open
didkan wants to merge 1 commit intovuestorefront:developfrom
dearsam:anders/fix-too-much-attribute-metadata
Open

Fix / attributes_metadata contains too many attributes#384
didkan wants to merge 1 commit intovuestorefront:developfrom
dearsam:anders/fix-too-much-attribute-metadata

Conversation

@didkan
Copy link

@didkan didkan commented Feb 25, 2021

closes #383

When collecting attributes to populate attributes_metadata almost ALL attributes were fetched creating a lot of data to be transferred to ElasticSearch. I changed the the logic so only the attributes that have is_visible AND is_visible_on_front set will be collected.
I assume this was intent from the beginning.

Probably we can even get rid of the is_visible check and only fetch attributes based on is_visible_on_front.
I think an attribute will never have is_visible == 0 and is_visible_on_front == 1 at the same time?!
What do you think @afirlejczyk @doliwa-divante ?

@didkan didkan changed the title Switch from OR-logic to AND-logic Fix / attributes_metadata contains too many attributes Feb 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant