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

findTrashItems() doesn't work with limit = 0

    XMLWordPrintable

Details

    Description

      When doing:

      $query = new Query();
      $query->limit = 0; //doing a count only request
      $result = $this->trashService->findTrashItems($query);
      

      According to: https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/API/Repository/Values/Content/Query.php#L83

      The result should only contain the count and no searchHits while it does contain searchHits.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yannick.roger-obsolete@ez.no Yannick Roger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: