Browse Source

Merge pull request #18878 from abpframework/auto-merge/rel-8-0/2447

Merge branch dev with rel-8.0
pull/18891/head
maliming 2 years ago
committed by GitHub
parent
commit
d8f533bed9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      npm/ng-packs/packages/core/src/lib/services/list.service.ts

4
npm/ng-packs/packages/core/src/lib/services/list.service.ts

@ -52,7 +52,7 @@ export class ListService<QueryParamsType = ABP.PageQueryParams | any> implements
return this._page;
}
private _totalCount = 0
private _totalCount = 0;
set totalCount(value: number) {
if (value === this._totalCount) return;
@ -150,7 +150,7 @@ export class ListService<QueryParamsType = ABP.PageQueryParams | any> implements
this._query$.next({
filter: this._filter || undefined,
maxResultCount: this._maxResultCount,
skipCount: this._page * this._maxResultCount,
skipCount: this._filter ? 0 : this._page * this._maxResultCount,
sorting: this._sortOrder ? `${this._sortKey} ${this._sortOrder}` : undefined,
} as any as QueryParamsType);
}

Loading…
Cancel
Save