marmelab / ng-admin

Add an AngularJS admin GUI to any RESTful API
http://ng-admin-book.marmelab.com/
MIT License
3.95k stars 725 forks source link

[RFR] Update filters on view initialization #1366

Closed floo51 closed 7 years ago

floo51 commented 7 years ago

Fixes an issue where a pinned filter wouldn't filter with its initially selected value.

Kmaschta commented 7 years ago

Does this PR fix this issue ? https://github.com/marmelab/ng-admin/issues/1204

floo51 commented 7 years ago

No, I don't think defaultValue actually applies for filters. We can still implement something like it with map and transform returning our default value where no value is given in the map function by instance.