Skip to content

Commit

Permalink
Fix tracking starting/ending point
Browse files Browse the repository at this point in the history
  • Loading branch information
siyu6974 committed Jan 29, 2019
1 parent 618ce0e commit 6a9cb8a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ export class CustomDashboardComponent implements OnInit, OnDestroy {
{accuracy: {lte: this.newWidget.options.minAcc ? this.newWidget.options.minAcc : 99999999}}
]
},
order: 'createdAt DESC',
order: 'createdAt ASC',
limit: 5
}
}]
Expand All @@ -667,7 +667,7 @@ export class CustomDashboardComponent implements OnInit, OnDestroy {
include: [{
relation: 'Geolocs',
scope: {
order: 'createdAt DESC',
order: 'createdAt ASC',
where: {
and: [
{createdAt: {gte: this.selectedDateTimeBegin.toISOString()}},
Expand Down

0 comments on commit 6a9cb8a

Please sign in to comment.