Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15293

Using subattribute filtering in the 'ezfind'-'search' template fetch function doesn't work

    XMLWordPrintable

Details

    Description

      Hi

      New sub attribute filtering does not seem to work as defined in usecase

      This affects eZ Find 2.1-0-alpha

      Steps to reproduce

      Create an article which have an related image. This related image should have the caption "stall cache"

      Then use this template to view the article:

      <h1>{$node.name}</h1>
      
      searchresult aa:
      {def $searchResults = fetch( 'ezfind', 'search',
                                                 hash( 'query', '',
                                                          'filter', array(
                                                                              'article/image/caption:Stale cache'
                                                                            )
                                                        ) )
      }
      
      {$searchResults|attribute(show)}
      

      You'll notice that in $searchResults, SearchResult is empty and SearchCount=0
      Also, you'll find an error in ezdebug:

      Unknown content class identifier ''
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            vl vl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: