Commit 4cb3319f1dce319806d37caeb71ffc3e9c50add1
1 parent
7077a81d
Fixed reltions table pagination when switch direction
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -124,6 +124,7 @@ export class RelationTableComponent extends PageComponent implements AfterViewIn | @@ -124,6 +124,7 @@ export class RelationTableComponent extends PageComponent implements AfterViewIn | ||
124 | directionChanged(direction: EntitySearchDirection) { | 124 | directionChanged(direction: EntitySearchDirection) { |
125 | this.direction = direction; | 125 | this.direction = direction; |
126 | this.updateColumns(); | 126 | this.updateColumns(); |
127 | + this.paginator.pageIndex = 0; | ||
127 | this.updateData(true); | 128 | this.updateData(true); |
128 | } | 129 | } |
129 | 130 |