aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-12 10:19:33 +0200
committerChocobozzz <me@florianbigard.com>2022-07-12 10:19:33 +0200
commit0667dbaf268e05b5c9d22f662532e86a1233741c (patch)
tree9aaf548f7796958d6642715a8fc81672ddef0790 /client/src/app/+my-library
parenta49407524fc1212299a41d7c5330f27b36112167 (diff)
downloadPeerTube-0667dbaf268e05b5c9d22f662532e86a1233741c.tar.gz
PeerTube-0667dbaf268e05b5c9d22f662532e86a1233741c.tar.zst
PeerTube-0667dbaf268e05b5c9d22f662532e86a1233741c.zip
Reset table pagination on search
Diffstat (limited to 'client/src/app/+my-library')
-rw-r--r--client/src/app/+my-library/my-ownership/my-ownership.component.html10
-rw-r--r--client/src/app/+my-library/my-video-imports/my-video-imports.component.html4
2 files changed, 4 insertions, 10 deletions
diff --git a/client/src/app/+my-library/my-ownership/my-ownership.component.html b/client/src/app/+my-library/my-ownership/my-ownership.component.html
index 649b3fef1..d9a4f32bd 100644
--- a/client/src/app/+my-library/my-ownership/my-ownership.component.html
+++ b/client/src/app/+my-library/my-ownership/my-ownership.component.html
@@ -4,14 +4,8 @@
4</h1> 4</h1>
5 5
6<p-table 6<p-table
7 [value]="videoChangeOwnerships" 7 [value]="videoChangeOwnerships" [lazy]="true" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage"
8 [lazy]="true" 8 [first]="pagination.start" [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)"
9 [paginator]="totalRecords > 0"
10 [totalRecords]="totalRecords"
11 [rows]="rowsPerPage"
12 [sortField]="sort.field"
13 [sortOrder]="sort.order"
14 (onLazyLoad)="loadLazy($event)"
15> 9>
16 <ng-template pTemplate="header"> 10 <ng-template pTemplate="header">
17 <tr> 11 <tr>
diff --git a/client/src/app/+my-library/my-video-imports/my-video-imports.component.html b/client/src/app/+my-library/my-video-imports/my-video-imports.component.html
index 79fb4da26..fb0f6f5a3 100644
--- a/client/src/app/+my-library/my-video-imports/my-video-imports.component.html
+++ b/client/src/app/+my-library/my-video-imports/my-video-imports.component.html
@@ -4,8 +4,8 @@
4</h1> 4</h1>
5 5
6<p-table 6<p-table
7 [value]="videoImports" [lazy]="true" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions" 7 [value]="videoImports" [lazy]="true" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [first]="pagination.start"
8 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id" 8 [rowsPerPageOptions]="rowsPerPageOptions" [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id"
9 [showCurrentPageReport]="true" i18n-currentPageReportTemplate 9 [showCurrentPageReport]="true" i18n-currentPageReportTemplate
10 currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} imports" 10 currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} imports"
11 [expandedRowKeys]="expandedRows" 11 [expandedRowKeys]="expandedRows"