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
from memory it has to default to the first listing tile because we have to give a default when creating the filter tile and at that stage there is no custom css selector. But I think it reevaluates which listing its using at run time by default so will use the correct one later?
Given Mosaic Page layout:
What I expect:
Filter Tile has filteritems of
Contentlisting #2
What you get:
Filter Tile has filteritems of
Contentlisting #1
Why?
Because the
ICollectionish
adapter always setsself.collection
of the first found contentlisting tile when initializing. See here https://github.com/collective/collective.collectionfilter/blob/master/src/collective/collectionfilter/tiles/__init__.py#L91Solution:
self.collection
should always be set to the actual found contentlisting tile inselectContent()
here https://github.com/collective/collective.collectionfilter/blob/master/src/collective/collectionfilter/tiles/__init__.py#L102The text was updated successfully, but these errors were encountered: