// controllers/list.js
import Ember from 'ember';
export default Ember.Controller.extend({
queryParams: ['page', 'sortBy', {
refreshModel: true
}],
page: 1,
sortBy: 'createdAt'
});
and
// templates/components/list-table.hbs
Sort by name
Why list model is not fully refreshed, when I click "Sort by name" link? What I'm doing wrong? Thanks for any help.
Aucun commentaire:
Enregistrer un commentaire