vhochstein / active_scaffold

Rails 4 Version of activescaffold supporting jquery
MIT License
156 stars 34 forks source link

Association has many sorting vs default ActiveScaffoldController Sorting #209

Closed vhochstein closed 8 years ago

vhochstein commented 8 years ago

ActiveScaffold Controller Player will use a primary Key default Sorting

In case Team model defines a has many players association including an order condition. that order condition will not be used, because the default sorting condition of PlayersController will override it.

I would say in case of just a default sorting condition in Controller has many sorting should win

vhochstein commented 8 years ago

fixed in latest commit