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

Search operator ::CONTAINS not working

    XMLWordPrintable

Details

    Description

      Using CONTAINS and LIKE operators won't retrieve any value on the scenario described bellow

      Steps:

      Scenario: Trashed Content object won't show on search
         Given I have a Content object "A" with:
              | Field | Value                     |
              | Name  | This is a ezstring field. |
          When I search for:
              | Query type | Query setting | Query setting      | Query    |
              | Field      | Name          | Operator::CONTAINS | this is  |
          Then I see 1 results
      

      for code example see: https://gist.github.com/MLoureiro/82b0bec7660fe1b291aa

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m