Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Fix export configurations #16

Closed
wants to merge 2 commits into from
Closed

Fix export configurations #16

wants to merge 2 commits into from

Conversation

alexisjanvier
Copy link
Contributor

No description provided.

.listActions(['<ma-filtered-list-button entity-name="products" filter="{ category_id: entry.values.id }" size="xs" label="Related products"></ma-filtered-list-button>', 'edit', 'delete']);
.listActions(['<ma-filtered-list-button entity-name="products" filter="{ category_id: entry.values.id }" size="xs" label="Related products"></ma-filtered-list-button>', 'edit', 'delete'])
.exportFields([
nga.field('name').label('Name'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't need that, the export should use listFields by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a bug in export for fields with template type. This PR is just a fix, waiting a patch from ng-admin (a patch I'll do today)

@alexisjanvier
Copy link
Contributor Author

marmelab/ng-admin#949 fixes the problem. I close the PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants