diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-12 10:19:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-12 10:19:33 +0200 |
commit | 0667dbaf268e05b5c9d22f662532e86a1233741c (patch) | |
tree | 9aaf548f7796958d6642715a8fc81672ddef0790 /client/src/app/+admin/overview/comments | |
parent | a49407524fc1212299a41d7c5330f27b36112167 (diff) | |
download | PeerTube-0667dbaf268e05b5c9d22f662532e86a1233741c.tar.gz PeerTube-0667dbaf268e05b5c9d22f662532e86a1233741c.tar.zst PeerTube-0667dbaf268e05b5c9d22f662532e86a1233741c.zip |
Reset table pagination on search
Diffstat (limited to 'client/src/app/+admin/overview/comments')
-rw-r--r-- | client/src/app/+admin/overview/comments/video-comment-list.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+admin/overview/comments/video-comment-list.component.html b/client/src/app/+admin/overview/comments/video-comment-list.component.html index b7fc0a1eb..d2ca5f700 100644 --- a/client/src/app/+admin/overview/comments/video-comment-list.component.html +++ b/client/src/app/+admin/overview/comments/video-comment-list.component.html | |||
@@ -8,8 +8,8 @@ | |||
8 | <em i18n>This view also shows comments from muted accounts.</em> | 8 | <em i18n>This view also shows comments from muted accounts.</em> |
9 | 9 | ||
10 | <p-table | 10 | <p-table |
11 | [value]="comments" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [rowsPerPageOptions]="rowsPerPageOptions" | 11 | [value]="comments" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" [first]="pagination.start" |
12 | [sortField]="sort.field" [sortOrder]="sort.order" dataKey="id" | 12 | [rowsPerPageOptions]="rowsPerPageOptions" [sortField]="sort.field" [sortOrder]="sort.order" dataKey="id" |
13 | [lazy]="true" (onLazyLoad)="loadLazy($event)" [lazyLoadOnInit]="false" [selectionPageOnly]="true" | 13 | [lazy]="true" (onLazyLoad)="loadLazy($event)" [lazyLoadOnInit]="false" [selectionPageOnly]="true" |
14 | [showCurrentPageReport]="true" i18n-currentPageReportTemplate | 14 | [showCurrentPageReport]="true" i18n-currentPageReportTemplate |
15 | currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} comments" | 15 | currentPageReportTemplate="Showing {{'{first}'}} to {{'{last}'}} of {{'{totalRecords}'}} comments" |