You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a page has multiple segment variants and a user matches more than one of those segments, how does the module choose which variant to show to the user? This is not stated anywhere that I can see in the docs.
but that seems a little arbitrary as it just picks the first variant in the list. There is a TODO in that may refer to this issue but is a little unclear.
Anyway, if this is the case, it would be good to mention it in the docs. I'd be happy to add that to the docs if we can clarify.
The text was updated successfully, but these errors were encountered:
If a page has multiple segment variants and a user matches more than one of those segments, how does the module choose which variant to show to the user? This is not stated anywhere that I can see in the docs.
I think it occurs inside of:
on line 118 of
wagtail_hooks.py
:variant = metadata.first().variant.specific
but that seems a little arbitrary as it just picks the first variant in the list. There is a TODO in that may refer to this issue but is a little unclear.
Anyway, if this is the case, it would be good to mention it in the docs. I'd be happy to add that to the docs if we can clarify.
The text was updated successfully, but these errors were encountered: