fixing flights skip take order by
This commit is contained in:
@@ -43,7 +43,9 @@ export class LogService {
|
|||||||
.createQueryBuilder('logs')
|
.createQueryBuilder('logs')
|
||||||
.innerJoinAndSelect('logs.tracks', 'track')
|
.innerJoinAndSelect('logs.tracks', 'track')
|
||||||
.innerJoinAndSelect('logs.pilot', 'pilot')
|
.innerJoinAndSelect('logs.pilot', 'pilot')
|
||||||
.orderBy('date')
|
.orderBy('logs.date', 'DESC')
|
||||||
|
.skip(skip)
|
||||||
|
.take(take)
|
||||||
.getManyAndCount();
|
.getManyAndCount();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user