Import channel search: language filtering requires re-thinking
Observed behavior
Filtering by language in import channel search isn't working as expected.
Expected behavior
Filtering by language should work as expected.
User-facing consequences
Wrong results when filtered by language.
Additional information
Presently, filtering by language in import from channel search uses contentcuration's model's language value. But we set language during publish on exported database. So, filtering by language is giving wrong results.
We need to handle this for both channel types -- public, and private.
Steps to reproduce the issue
- Create a channel with a specific language.
- Add a resource without setting its language explicitly.
- Publish that channel.
- Create another channel.
- Go to import channel search.
- Select
My channelsfromChannelsdropdown. - Now, enter a search term that displays that resource.
- In the results page, in Language dropdown, select the published channel language.
- You will see zero results.
Usage Details
- OS: Ubuntu 22.04
- Browser: Chrome
- URL: Latest unstable
Is this issue ready for contribution?
Hi @nick2432, it's not ready. Please check issues labels - if it has something along the lines that it needs a decisions or design, then it's not ready. You're welcome to tackle other issues, especially the ones marked with "help wanted".