Closed toblie closed 7 years ago
OK... I found the solution... sorry for the issue. For other users who need the solution:
nga.field('topics', 'reference_many')
.targetEntity(topic)
.targetField(nga.field('name'))
.perPage(999999)
.sortField('name')
.label('Topics'),
The issue is, that ngadmin uses a limit query to GET the reference records. This way only the first 30 records are displayed on dropdown fields. I think this is not useful. Can anyone tell me how remove this limit for these kind of fields or just deactivate pagination here? Here is my field declaration:
nga.field('topics', 'reference_many') .targetEntity(topic) .targetField(nga.field('name')) .label('Topics'),
Thanks