UI: Fixed incorrect search by LWM2M models

This commit is contained in:
Vladyslav_Prykhodko 2025-02-06 12:01:55 +02:00
parent c76cd05b12
commit 08eef1c922

View File

@ -190,7 +190,7 @@ export class Lwm2mObjectListComponent implements ControlValueAccessor, OnInit, V
private fetchListObjects = (searchText: string): Observable<Array<ObjectLwM2M>> => {
this.searchText = searchText;
const pageLink = new PageLink(PAGE_SIZE_LIMIT, 0, this.searchText, {
property: 'id',
property: 'resourceKey',
direction: Direction.ASC
});
return this.deviceProfileService.getLwm2mObjectsPage(pageLink);