Skip to content
New issue

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

Entity Picker trying to get default values that don't exist #102

Open
skartknet opened this issue Mar 21, 2019 · 0 comments
Open

Entity Picker trying to get default values that don't exist #102

skartknet opened this issue Mar 21, 2019 · 0 comments

Comments

@skartknet
Copy link

It's funny that I'm having an issue again related to #30 ;) . There have been some changes to the picker controller that are breaking when the collection doesn't have configured a list view. The problem is coming from entitypicker.controller.js:56

$scope.listView.options.defaultOrderBy = collection.listView.defaultOrderBy;
$scope.listView.options.defaultOrderDirection = collection.listView.defaultOrderDirection;

Can we make it default to something else? I don't even have a 'Name' in my entities. Should it default to the name property set in the config?

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

No branches or pull requests

1 participant