();
@ViewChild(MatPaginator) paginator: MatPaginator;
public resultLength = 0;
diff --git a/src/app/gateway/gateway-status/gateway-status.component.html b/src/app/gateway/gateway-status/gateway-status.component.html
index 81ce42d60..2a67dd3d9 100644
--- a/src/app/gateway/gateway-status/gateway-status.component.html
+++ b/src/app/gateway/gateway-status/gateway-status.component.html
@@ -48,7 +48,7 @@ {{title}}
-
diff --git a/src/app/gateway/gateway-status/gateway-status.component.ts b/src/app/gateway/gateway-status/gateway-status.component.ts
index f569027db..8b1479bed 100644
--- a/src/app/gateway/gateway-status/gateway-status.component.ts
+++ b/src/app/gateway/gateway-status/gateway-status.component.ts
@@ -17,6 +17,7 @@ import { Observable, Subject, Subscription } from 'rxjs';
import { GatewayStatusInterval } from '../enums/gateway-status-interval.enum';
import { GatewayStatus, AllGatewayStatusResponse } from '../gateway.model';
import { map } from 'rxjs/operators';
+import { DefaultPageSizeOptions } from '@shared/constants/page.constants';
interface TimeColumn {
exactTimestamp: string;
@@ -51,6 +52,7 @@ export class GatewayStatusComponent implements AfterContentInit, OnDestroy {
timestampText = '';
visibleFooterTimeInterval = 1;
pageSize = environment.tablePageSize;
+ public pageSizeOptions = DefaultPageSizeOptions;
resultsLength = 0;
organizationId: number | undefined;
isLoadingResults = false;
diff --git a/src/app/gateway/gateway-table/gateway-table.component.html b/src/app/gateway/gateway-table/gateway-table.component.html
index 873f244bf..b0f258892 100644
--- a/src/app/gateway/gateway-table/gateway-table.component.html
+++ b/src/app/gateway/gateway-table/gateway-table.component.html
@@ -93,6 +93,6 @@
-
+
-
\ No newline at end of file
+
diff --git a/src/app/gateway/gateway-table/gateway-table.component.ts b/src/app/gateway/gateway-table/gateway-table.component.ts
index aeae7b691..6cafd6e34 100644
--- a/src/app/gateway/gateway-table/gateway-table.component.ts
+++ b/src/app/gateway/gateway-table/gateway-table.component.ts
@@ -17,6 +17,7 @@ import { MatSort } from '@angular/material/sort';
import { MatTableDataSource } from '@angular/material/table';
import { tableSorter } from '@shared/helpers/table-sorting.helper';
import { OrganizationAccessScope } from '@shared/enums/access-scopes';
+import { DefaultPageSizeOptions } from '@shared/constants/page.constants';
@Component({
selector: 'app-gateway-table',
@@ -38,6 +39,7 @@ export class GatewayTableComponent implements AfterViewInit {
data: Gateway[] = [];
dataSource: MatTableDataSource;
public pageSize = environment.tablePageSize;
+ public pageSizeOptions = DefaultPageSizeOptions;
faExclamationTriangle = faExclamationTriangle;
faCheckCircle = faCheckCircle;
diff --git a/src/app/payload-decoder/payload-decoder-detail/iot-device-minimal-table/iot-device-minimal-table.component.html b/src/app/payload-decoder/payload-decoder-detail/iot-device-minimal-table/iot-device-minimal-table.component.html
index 171e44f4d..6ed5a45f8 100644
--- a/src/app/payload-decoder/payload-decoder-detail/iot-device-minimal-table/iot-device-minimal-table.component.html
+++ b/src/app/payload-decoder/payload-decoder-detail/iot-device-minimal-table/iot-device-minimal-table.component.html
@@ -36,6 +36,6 @@
-
+
-
\ No newline at end of file
+
diff --git a/src/app/payload-decoder/payload-decoder-detail/iot-device-minimal-table/iot-device-minimal-table.component.ts b/src/app/payload-decoder/payload-decoder-detail/iot-device-minimal-table/iot-device-minimal-table.component.ts
index 0359bc7f5..549dcc34d 100644
--- a/src/app/payload-decoder/payload-decoder-detail/iot-device-minimal-table/iot-device-minimal-table.component.ts
+++ b/src/app/payload-decoder/payload-decoder-detail/iot-device-minimal-table/iot-device-minimal-table.component.ts
@@ -11,6 +11,8 @@ import { SharedVariableService } from '@shared/shared-variable/shared-variable.s
import { Observable, of as observableOf } from 'rxjs';
import { startWith, switchMap, map, catchError } from 'rxjs/operators';
import { TranslateService } from '@ngx-translate/core';
+import { environment } from '@environments/environment';
+import { DefaultPageSizeOptions } from '@shared/constants/page.constants';
@Component({
selector: 'app-iot-device-minimal-table',
@@ -25,6 +27,8 @@ export class IoTDeviceMinimalTableComponent implements AfterViewInit {
resultsLength = 0;
isLoadingResults = true;
+ public pageSize = environment.tablePageSize;
+ public pageSizeOptions = DefaultPageSizeOptions;
@ViewChild(MatPaginator) paginator: MatPaginator;
diff --git a/src/app/payload-decoder/payload-decoder-list/payload-decoder-table/payload-decoder-table.component.html b/src/app/payload-decoder/payload-decoder-list/payload-decoder-table/payload-decoder-table.component.html
index 298e82229..3e9d173fa 100644
--- a/src/app/payload-decoder/payload-decoder-list/payload-decoder-table/payload-decoder-table.component.html
+++ b/src/app/payload-decoder/payload-decoder-list/payload-decoder-table/payload-decoder-table.component.html
@@ -65,7 +65,7 @@
-
diff --git a/src/app/payload-decoder/payload-decoder-list/payload-decoder-table/payload-decoder-table.component.ts b/src/app/payload-decoder/payload-decoder-list/payload-decoder-table/payload-decoder-table.component.ts
index 1e1d4f071..7755db562 100644
--- a/src/app/payload-decoder/payload-decoder-list/payload-decoder-table/payload-decoder-table.component.ts
+++ b/src/app/payload-decoder/payload-decoder-list/payload-decoder-table/payload-decoder-table.component.ts
@@ -19,6 +19,7 @@ import { SharedVariableService } from '@shared/shared-variable/shared-variable.s
import { DeleteDialogService } from '@shared/components/delete-dialog/delete-dialog.service';
import { TranslateService } from '@ngx-translate/core';
import { OrganizationAccessScope } from '@shared/enums/access-scopes';
+import { DefaultPageSizeOptions } from '@shared/constants/page.constants';
@Component({
selector: 'app-payload-decoder-table',
@@ -31,6 +32,7 @@ export class PayloadDecoderTableComponent
@ViewChild(MatSort) sort: MatSort;
displayedColumns: string[] = ['name', 'id', 'organizationID', 'menu'];
public pageSize = environment.tablePageSize;
+ public pageSizeOptions = DefaultPageSizeOptions;
data: PayloadDecoder[] = [];
diff --git a/src/app/search/search-table/search-table.component.html b/src/app/search/search-table/search-table.component.html
index 0549e5a85..32a116cb8 100644
--- a/src/app/search/search-table/search-table.component.html
+++ b/src/app/search/search-table/search-table.component.html
@@ -89,7 +89,7 @@
;
public pageSize = environment.tablePageSize;
+ public pageSizeOptions = DefaultPageSizeOptions;
isLoadingResults = true;
subscription: Subscription;
diff --git a/src/app/shared/constants/page.constants.ts b/src/app/shared/constants/page.constants.ts
new file mode 100644
index 000000000..365700797
--- /dev/null
+++ b/src/app/shared/constants/page.constants.ts
@@ -0,0 +1 @@
+export const DefaultPageSizeOptions: number[] = [25, 50, 100];
diff --git a/src/app/sigfox/sigfox-groups-detail/sigfox-device-type-table/sigfox-device-type-table.component.html b/src/app/sigfox/sigfox-groups-detail/sigfox-device-type-table/sigfox-device-type-table.component.html
index 820e26d4d..6ca580148 100644
--- a/src/app/sigfox/sigfox-groups-detail/sigfox-device-type-table/sigfox-device-type-table.component.html
+++ b/src/app/sigfox/sigfox-groups-detail/sigfox-device-type-table/sigfox-device-type-table.component.html
@@ -18,5 +18,5 @@
-
-
\ No newline at end of file
+
+
diff --git a/src/app/sigfox/sigfox-groups-detail/sigfox-device-type-table/sigfox-device-type-table.component.ts b/src/app/sigfox/sigfox-groups-detail/sigfox-device-type-table/sigfox-device-type-table.component.ts
index a997c0a3b..97adbdc6f 100644
--- a/src/app/sigfox/sigfox-groups-detail/sigfox-device-type-table/sigfox-device-type-table.component.ts
+++ b/src/app/sigfox/sigfox-groups-detail/sigfox-device-type-table/sigfox-device-type-table.component.ts
@@ -6,6 +6,7 @@ import { environment } from '@environments/environment';
import { TranslateService } from '@ngx-translate/core';
import { SigfoxDeviceType } from '@shared/models/sigfox-device-type.model';
import { SigfoxGroup } from '@shared/models/sigfox-group.model';
+import { DefaultPageSizeOptions } from '@shared/constants/page.constants';
@Component({
selector: 'app-sigfox-device-type-table',
@@ -20,6 +21,7 @@ export class SigfoxDeviceTypeTableComponent implements OnInit, OnChanges {
@ViewChild(MatPaginator) paginator: MatPaginator;
displayedColumns: string[] = ['name', 'alertEmail'];
public pageSize = environment.tablePageSize;
+ public pageSizeOptions = DefaultPageSizeOptions;
@Input() isLoadingResults: boolean;
resultsLength: number;