Merge pull request #12610 from vvlladd28/bug/lwm2m/list-sort-property
Fixed incorrect search by LWM2M models
This commit is contained in:
commit
40e576ee94
@ -190,7 +190,7 @@ export class Lwm2mObjectListComponent implements ControlValueAccessor, OnInit, V
|
|||||||
private fetchListObjects = (searchText: string): Observable<Array<ObjectLwM2M>> => {
|
private fetchListObjects = (searchText: string): Observable<Array<ObjectLwM2M>> => {
|
||||||
this.searchText = searchText;
|
this.searchText = searchText;
|
||||||
const pageLink = new PageLink(PAGE_SIZE_LIMIT, 0, this.searchText, {
|
const pageLink = new PageLink(PAGE_SIZE_LIMIT, 0, this.searchText, {
|
||||||
property: 'id',
|
property: 'resourceKey',
|
||||||
direction: Direction.ASC
|
direction: Direction.ASC
|
||||||
});
|
});
|
||||||
return this.deviceProfileService.getLwm2mObjectsPage(pageLink);
|
return this.deviceProfileService.getLwm2mObjectsPage(pageLink);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user