Skip to content

Re-introduce category_ids#1184

Merged
royduin merged 2 commits intomasterfrom
bugfix/category-ids
Feb 6, 2026
Merged

Re-introduce category_ids#1184
royduin merged 2 commits intomasterfrom
bugfix/category-ids

Conversation

@indykoning
Copy link
Member

Ref: RAP-1794

Since the flat tables migration the category_ids had accidentally been removed.
This was used on category pages as part of it's filtering, however for compatibility to prevent errors this line was added when moving to instantsearch:

' OR (NOT _exists_:category_ids))',

When a document has no category_ids field it will not attempt to filter on it and create errors (useful when using the listing component for Categories, search suggestions, blog pages, etc.) but now it didn't filter it on the Product listings either.

This caused products to seemingly jump around as the categories filter was loaded,

@indykoning indykoning requested a review from royduin as a code owner February 5, 2026 12:25
@royduin royduin requested a review from Jade-GG February 5, 2026 14:15
@royduin royduin merged commit ecd8b79 into master Feb 6, 2026
15 checks passed
@royduin royduin deleted the bugfix/category-ids branch February 6, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants