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

Search API returns wrong number of total objects with content having multiple locations

    XMLWordPrintable

Details

    Description

      When running a query with Search API, if one of the returned content objects has multiple locations, SearchResult->totalCount is wrong. It's superior to the actual number of results.
      Even more, when using LocationPriority sort clause, totalCount is even greater.

      Script to reproduce

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.bras-obsolete@ez.no Paulo Bras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 3 hours, 45 minutes
                2d 3h 45m