-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Description
Category: Bug
Severity: High
With new versions of devon4j it seems that its necessary to have a sort inside the pageable, even if its empty. This part of the explanation seems missing both in frontend and backend.
For example:
getCurrentlyAttendedAccessCode(): Observable<AccessCode> {
const filters: FilterAccessCode = new FilterAccessCode();
const pageable: Pageable = new Pageable();
filters.endTime = null;
pageable.pageNumber = 0;
pageable.pageSize = 1;
pageable.sort = new Array();
filters.pageable = pageable;
This means the interface has to change too:
export class Pageable {
pageSize: number;
pageNumber: number;
sort: Sort[];
}