Try our conversational search powered by Generative AI!

totalMatching is 0 in response if "skip" value > or = total matching contents

Found in

EPiServer.ContentDeliveryApi 1.0.1

Fixed in

EPiServer.ContentDeliveryApi 2.1.0

(Or a related package)

Created

Sep 26, 2018

Updated

Oct 30, 2018

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Send a request to search content. For example:

http://vnlabvm52:1000/api/episerver/v1.0/search/content?query=bears&skip=4

Note that the total matching contents are 4. And, it is equal to the "skip" value.

Expected:
No content is returned under "results", but totalMatching should still be 4.

Actual:
Results is null, and totalMatching is 0.