Skip to content

Commit

Permalink
Removes forcing sort on createdAt (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
flovilmart authored and natanrolnik committed Oct 28, 2017
1 parent 66d087e commit 49bf7e3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dashboard/Data/Browser/Browser.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,6 @@ export default class Browser extends DashboardView {
query.ascending(field)
}

if (field !== 'createdAt') {
query.addDescending('createdAt');
}

query.limit(200);
const data = await query.find({ useMasterKey: true });
return data;
Expand Down

0 comments on commit 49bf7e3

Please sign in to comment.