keystonejs/keystone-classic

field of relation fields as default columns not working

Open

#4,593 opened on Mar 7, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (2,288 forks)batch import
bughelp wanted

Repository metrics

Stars
 (14,656 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Expected behavior

with below model

B { bValue: { type: String} }

A { b: { type: Types.Relationship, ref: 'B', many: false } } A.defaultColumns ='b:bValue';

With above setting, in admin ui, the 0.3 version is showing b:bValue in the A list. but with 4.beta this is not working.

Actual/Current behavior

Steps to reproduce the actual/current behavior

Environment

Software Version
Keystone 4 beta8
Node 6.12.0

Contributor guide