Admin UI: Lookup values for related collection
See original GitHub issueExpected behavior
In the admin UI, tab posts
: trying to filter, using field Blog
. The list of blogs should contain blogs.
Actual behavior
Currently, the list is empty
Steps to reproduce the behavior
Go to the admin UI, open posts
, and try to filter, using field Blog
.
Version: “keystone”: “^0.3.16”
Log:
GET /keystone/posts 200 1100.208 ms
API Error (database error):
{ [MongoError: Failed to parse: { find: "pages", filter: { __t: "Blog" }, sort: { note: 1 }, limit: "10" }. 'limit' field must be numeric.]
name: 'MongoError',
message: 'Failed to parse: { find: "pages", filter: { __t: "Blog" }, sort: { note: 1 }, limit: "10" }. \'limit\' field must be numeric.',
waitedMS: 0,
ok: 0,
errmsg: 'Failed to parse: { find: "pages", filter: { __t: "Blog" }, sort: { note: 1 }, limit: "10" }. \'limit\' field must be numeric.',
code: 9 }
Unhandled rejection MongoError: Failed to parse: { find: "pages", filter: { __t: "Blog" }, sort: { note: 1 }, limit: "10" }. 'limit' field must be numeric.
at Function.MongoError.create (/home/www/site/node_modules/mongodb-core/lib/error.js:31:11)
at queryCallback (/home/www/site/node_modules/mongodb-core/lib/cursor.js:200:36)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Lookup Values | User Interface API Developer Guide
Records in a lookup relationship, organized by object type. A map of object API names to Record Collection response bodies containing the lookup...
Read more >Reference lookup
On forms, the reference lookup icon ( Core UI reference lookup icon ) appears by editable reference fields. Clicking the reference lookup ......
Read more >Filter, Search, and LookUp functions in Power Apps
Syntax · Table - Required. Table to search. In the UI, the syntax is shown as source above the function box. · Formula...
Read more >Parameterized lookup field not displaying values based on ...
Log in as an administrator and go to Classic Studio ->Administration->Lookups · Create a copy of the Lookup Query from 'Idea and Project...
Read more >11 Managing Lookups
Open the Search and Select: Lookup Type window. · Click the Create Lookup Type icon on the toolbar. · Enter values in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@moret awesome, I’ll close this then and ask @jed to please push a new v0.3 patch release 😃
@wmertens great. I changed my package.json to
"keystone": "git@github.com:keystonejs/keystone.git#a0d9a42e1c84b7987cbc9ae62eef8a1153d3bd25"
, removed and reinstalled node_modules and tested. I can confirm it’s fixed, thank you a lot!