keystonejs/keystone-classic

field of relation fields as default columns not working

Open

#4 593 ouverte le 7 mars 2018

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (2 288 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (14 656 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur