AnsweredAssumed Answered

search fields that get value from a list of value

Question asked by redflow on Feb 19, 2018
Latest reply on Feb 20, 2018 by redflow

I've created a custom type that has few fields that could get value in a list of values, as example:

<property name="igw:Stato">
      <title>Stato</title>
      <type>d:text</type>
      <mandatory>true</mandatory>
      <default>In corso</default>
      <index enabled="true">
         <tokenised>TRUE</tokenised>
         <facetable>false</facetable>
      </index>
      <constraints>
         <constraint name="igw:LIST_31ed644b-6edc-49eb-83f3-7c8fa5faa2e2" type="LIST">
            <parameter name="allowedValues">
               <list>
                     <value>In corso</value>
                     <value>In attesa di risposta</value>
                     <value>Chiusa</value>
               </list>
            </parameter>
            <parameter name="sorted">
               <value>false</value>
            </parameter>
         </constraint>
      </constraints>
</property>

 

How should I set search query to get values?

@igw:Stato:'Chiusa'

@igw\:Stato:'In corso' 

return always empty list even if there are folder with that values!

I have this issue only on list of values fields, on string, integer and date fields everything is ok.

 

What I'm doing wrong? 

Outcomes