App: Ember 2.4 DB: FireBase;
Can't get data sorted with descending direction.
Using
export default Ember.Route.extend({
model: function() {
return this.store.query('message', {
orderBy : 'time'
});
}
});
for getting list of my messages. But I need to get it in descending direction.
Have already read EmberFire doc and api doc http://ift.tt/1x2r85r http://ift.tt/1PoL0G4
didn't find any clear explanation in Ember 2.4 guide.
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire