Skip to content

Filter rule "Simple lookup" with Option "Static parameter" doesn´t work for attribute text #1036

@zonky2

Description

@zonky2

Checklist before I submit this issue report

I confirm that:

My environment is:

Key Value Comments
PHP version: 5.6
Contao version: 3.5.15
MetaModels version: a14
Installation via composer: (yes)
Installed MetaModels packages: no
DCG version: b38

Issue description

  • fill attribute text
  • Filter rule "Simple lokup" with "Static parameter" for attribute text
  • at CE MM-List the select to choose a item is empty

Steps to reproduce

see description

the selct is filled for attribute select but empty for attribute text...

the different is may be the

$arrOptions = $objAttribute->getFilterOptions(null, false);
with parameter null, false - look at
public function getFilterOptions($idList, $usedOnly, &$arrCount = null)

see at https://community.contao.org/de/showthread.php?63848-Item-anhand-von-textfeld-im-Backend-mit-filter-zuweisen

Metadata

Metadata

Assignees

No one assigned

    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