Skip to content

Filter "simple lookup" and standard value doesn´t work with multi language MMs #1115

@zonky2

Description

@zonky2

Checklist before I submit this issue report

I confirm that:

My environment is:

Key Value Comments
PHP version:
Contao version: 3.5.25
MetaModels version: a15
Installation via composer: (yes)
Installed MetaModels packages:
DCG version: b39

Issue description

Have the filter rule a standard value woks this only in FE in the choosen BE language - that means: if you have EN as BE language, wokrs the filter at FE by english but not if you change the FE language to german

Steps to reproduce

  1. two Multi language MM with reference per select
  2. FE list with filter
  3. filter with simple lookup and a standard value (you can use as alternative the option "static parameter" an select the standard value at CE-MM-Filter)

Screenshots

English
shot342

change to german
shot343

Workaround

  • use "own SQL" ... or

  • work with "static parameter" and deselect standard value at filter rule... if you use own CE-MM-Filter at every language, you can choose at every language your own standard value - note: to switch to a other language tree at BE, change your BE language ;-)

Note

if we implement the multi language feature should work a "change language" between detail pages so we can switch from
domain.com/en/product/details/my-shoe-123.html to
domain.com/de/produkt/detail/mein-schuh-123.html

... may be

Metadata

Metadata

Labels

enhancementThis issue is about an enhancement (aka new feature)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions