sort item list by ids
This commit is contained in:
parent
3cc2c73bc2
commit
b4a2f33a19
|
@ -65,6 +65,7 @@ export class ItemsService {
|
|||
|
||||
async getItemList(cursor: number = 0): Promise<PaginatedItems> {
|
||||
const [items, count] = await this.itemRepository.findAndCount({
|
||||
order: { id: 'ASC' },
|
||||
take: 25,
|
||||
skip: cursor,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue