OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

Implemented ability to add localizations of selected terms to filter #8730

Closed MatteoPiovanelli-Laser closed 10 months ago

MatteoPiovanelli-Laser commented 1 year ago

When there are several localisations for terms, it's currently required to select all of them in the filter for projections/queries.

This becomes troublesome to keep track of as more languages are added, and the localisations of terms are added to the tenant. This is especially an issue when accounting for the fact that the different permissions required (e.g. to handle localizing content, taxonomies and configuring queries) may be spread to different users.

In this PR, we tackle this by adding an option to the TermsFilter that would allow automatically localizing the selected terms (i.e. including their localized versions in the query).