Resolution: No Longer Reproducible
Affects Version/s: 6.1.0 CE GA1, 6.1.10 EE GA1, 6.1.30 EE GA3, 6.2.0 CE M4
Fix Version/s: 6.2.0 CE M4
Similar Issues:Show 5 results
LPS-25993 Asset Publisher: Filtering by tag does not work for Global Scope assets. LPS-8190 Asset Publisher: The filter by asset type does not work LPS-16067 IE Asset Publisher Filter section does not work LPS-13746 Asset Publisher Dynamic Filter - different results for Guest role LPS-4194 Reduce complexity in Asset Publisher Configuration
In the Asset Publisher, you can dynamically build a list of filters that are applied when searching for assets. This way, you would think it would be possible to perform e.g. the following "query" (C means Category here, see also screenshot attached for a real-life example):
C1 and (C2 or C3) and (C4 or C5)
However, this doesn't work as expected. The front-end filter is converted to an AssetEntryQuery object. This object has two fields for storing categoryIds: allCategoryIds and anyCategoryIds. For the example above, the AssetEntryQuery would have the following values:
- allCategoryIds = [C1]
- anyCategoryIds = [C4, C5]
According to Users Guide, any number of filters can be created, so Asset Publisher should be able to handle any number of filters.
Extend AssetEntryQuery class to be able to store all the necessary information, and update the AssetEntryFinderImpl to be able to handle the additional information.