server on server should of had a defualt paging on initial select.

This commit is contained in:
David Lebee 2021-09-09 15:45:47 -04:00
parent e7f9f2c52d
commit e3b24915e6
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@poweredsoft/ng-select",
"version": "0.0.5",
"version": "0.0.6",
"peerDependencies": {
"@angular/common": "^9.1.9",
"@angular/core": "^9.1.9"

View File

@ -116,7 +116,7 @@ export class NgSelectComponent implements OnInit, OnDestroy {
debounceTime(500) // this is for delaying searching speed
).subscribe(searchTerm => this.refreshDataSource(searchTerm, 1, 100)); // page: 1, pageSize: 50
this.refreshDataSource(); //send the query to server to sorting & filtering by default
this.refreshDataSource(null, 1, 100); //send the query to server to sorting & filtering by default
}
get selectedModel() {