Skip to content

Commit 49bf7e3

Browse files
flovilmartnatanrolnik
authored andcommitted
Removes forcing sort on createdAt (#796)
1 parent 66d087e commit 49bf7e3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/dashboard/Data/Browser/Browser.react.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,6 @@ export default class Browser extends DashboardView {
316316
query.ascending(field)
317317
}
318318

319-
if (field !== 'createdAt') {
320-
query.addDescending('createdAt');
321-
}
322-
323319
query.limit(200);
324320
const data = await query.find({ useMasterKey: true });
325321
return data;

0 commit comments

Comments
 (0)