When using multilingual site catalogue trainings are duplicated

Created on 26 January 2024, 5 months ago

Problem/Motivation

When using multilingual site (i have four languages defined), catalogue trainings are duplicated as many times as many translations were added to each training (group).

Steps to reproduce

Add more languages to a website and define a new training with all translations and then go to catalogue page.

Proposed resolution

View rsponsible for rendering catalogue trainings (groups) "opigno_training_catalog" has to be updated by adding a filter in view.
Click "Add filter criteria" and find the "Default translation" filter for Group.
Click "Add and configure filter criteria" and set the "Default translation" option to "True". Finish the process by clicking "Apply". It will filter the content items by the default language.

Credits goes to: https://gole.ms/blog/configuring-multilingual-content-views-drupal-9

Remaining tasks

Updated view settings has to be exported to configuration.

User interface changes

-

API changes

-

Data model changes

Updated view settings has to be exported to configuration.

πŸ› Bug report
Status

Needs work

Version

3.1

Component

User interface

Created by

πŸ‡΅πŸ‡±Poland Pozi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024