lundi 6 novembre 2017

How to pass queryParams in moderFor('model') in ember route model method

I have pagination in my list view.

Actually i m trying to implement pagination. And for pagination 'perpage_count' value i wanted to save in server. And for getting result count based on saved perpage_count need to send perpage_count as a queryParam.

model:function()
{   
    var model = this.modelFor('view').hasMany('list');
    return model.reload();
}

Kinldy help me out. Thanks




Aucun commentaire:

Enregistrer un commentaire