keystone-classic icon indicating copy to clipboard operation
keystone-classic copied to clipboard

Bug: Limited results (50) in Relationship field when condition is applied in Admin (Dropdown Element)

Open ytzvan opened this issue 7 years ago • 0 comments

Expected behavior

I'd like to get the results from a relationship between Model A (Listings) and Model B (Users) Having the following relationship defined in Model A owner: { type: Types.Relationship, ref: 'User', filters: { isActive: true }} The filter in the admin should return only the users where the field isActive == true

Actual/Current behavior

The filter returns only the last 50 items created where isActive == true

Steps to reproduce the actual/current behavior

Create Model A and Model B In Model A create a relationship field with a conditional behavior, then create 55 items in Model B. The dropdown created by KeystoneJS only return the last 50 items created.

Environment

Software Version
Keystone 0.3.22
Node v6.9.1

ytzvan avatar May 07 '18 16:05 ytzvan