Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8247

[New search service] Allow to get contents based on a strict content type

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 4.0RC4
    • None
    • None
    • 2 - Long term
    • 2 - Normal

      Use case: the content type B extends the content type A

      Since resolution of CMS-7858, a filter configured to get contents of type A, will return contents of type A and type B.

      It will be useful to be able to configure filter to be a strict search on type A (B excluded).

      In service parameter, add a check box "strict search" ?

      For a static filter it could be :

      <content-types strict="true">
         <type id="org.ametys.web.default.Content.article"/>
      </content-types>
      

      or

      <content-types>
         <type id="org.ametys.web.default.Content.article" strict="true"/>
         <typeid="org.ametys.web.default.Content.news" strict="false"/>
      </content-types>
      

       
       
       

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: