Skip to content

Commit

Permalink
server on server should of had a defualt paging on initial select.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lebee committed Sep 9, 2021
1 parent e7f9f2c commit e3b2491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/poweredsoft/ng-select/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e3b2491

Please sign in to comment.