aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/rest
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/rest')
-rw-r--r--client/src/app/shared/rest/rest-table.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/shared/rest/rest-table.ts b/client/src/app/shared/rest/rest-table.ts
index 5954a7ba1..891fb7b2b 100644
--- a/client/src/app/shared/rest/rest-table.ts
+++ b/client/src/app/shared/rest/rest-table.ts
@@ -7,11 +7,13 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'
7export abstract class RestTable { 7export abstract class RestTable {
8 8
9 abstract totalRecords: number 9 abstract totalRecords: number
10 abstract rowsPerPage: number
11 abstract sort: SortMeta 10 abstract sort: SortMeta
12 abstract pagination: RestPagination 11 abstract pagination: RestPagination
13 12
14 search: string 13 search: string
14 rowsPerPageOptions = [ 10, 20, 50, 100 ]
15 rowsPerPage = this.rowsPerPageOptions[0]
16
15 private searchStream: Subject<string> 17 private searchStream: Subject<string>
16 18
17 abstract getIdentifier (): string 19 abstract getIdentifier (): string