We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot get them to work here is the code snippet,
login.editionView() .fields([ nga.field('username'), nga.field('password'), nga.field('user', 'reference') .perPage(10) .sortDir("ASC") .sortField("nickname") .label('User') .targetEntity(user) .targetField(nga.field('nickname')) ]);
but the actual request is sent with "id" and "DESC" i guess its a bug?
The text was updated successfully, but these errors were encountered:
I found that you can specify the (default) .sortField('xxx') in the listView() creation. This appears to work across all views for that entity.
The following should (hopefully) work for you.
user.listView() .fields([ ... ]) .sortDir("ASC") .sortField("nickname");
I don't know why the field specification doesn't apply the sortField() correctly.
Sorry, something went wrong.
marmelab/admin-config@658c080
Fix reference list order
8bea313
Closes #576
fzaninotto
No branches or pull requests
cannot get them to work
here is the code snippet,
but the actual request is sent with "id" and "DESC"
i guess its a bug?
The text was updated successfully, but these errors were encountered: