Matching properties with another fields (multienum)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anthojavea
    Junior Member
    • Jan 2019
    • 1

    Matching properties with another fields (multienum)

    Hello, I discovered this great crm. he is really great. I intend to use it for my business.

    I have an important question, I have to develop an automatic matching with a fields parking, this field is multiple, when I chose a parking, the matching return no result.

    This is how I created my fields

    In RealEstateRequest.json
    _______
    "parking": { "default": "", "type": "multiEnum", "options": [ "Private parking", "Private garage", "Carport", "Underground parking" ], "isSorted": false, "view": "views/fields/multi-enum" } _______

    In RealEstateRequest.php
    _______

    if ($entity->get('parking') !== null) { $selectParams['whereClause']['parking'] = $entity->get('parking');} _______

    Can you help me please ?

    thank you so much

    Anthony
Working...