Pager not correct in 'Create Segment UI'

Fixed in

EPiServer.Profiles.Client 1.13.1

Created

Nov 27, 2019

Updated

Jan 24, 2020

State

Closed, Fixed and tested


Description

In the Create Segment View UI, if a user selects a filter definition and previews the matching profiles, the pager under the profile list shows incorrect page numbers.

Step to reproduce

  1. From Insight, open the Create Segment View UI.
  2. Select a a filter definition.
  3. Fill in the parameters.
  4. Click the Preview button.

Expected:
A pager is shown under the profiles list.

Actual:
Pages in the pager are correct. If no profile is found, the pager should be empty.
There are pages 1 and 0 in the pager as shown in the attached screenshot.