TSK-1466: update
This commit is contained in:
parent
713ecfdb00
commit
0e51856d35
|
@ -28,7 +28,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<taskana-shared-sort [sortingFields]="sortingFields" (performSorting)="sorting($event)"
|
<taskana-shared-sort [sortingFields]="sortingFields" (performSorting)="sorting($event)"
|
||||||
menuPosition="left">
|
menuPosition="left" defaultSortBy="access-id">
|
||||||
</taskana-shared-sort>
|
</taskana-shared-sort>
|
||||||
</th>
|
</th>
|
||||||
<th class="text-align min-width">Workbasket Key</th>
|
<th class="text-align min-width">Workbasket Key</th>
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { Direction, Sorting } from 'app/shared/models/sorting';
|
||||||
export class SortComponent implements OnInit {
|
export class SortComponent implements OnInit {
|
||||||
@Input() sortingFields: Map<string, string>;
|
@Input() sortingFields: Map<string, string>;
|
||||||
@Input() menuPosition = 'right';
|
@Input() menuPosition = 'right';
|
||||||
@Input() defaultSortBy = 'access-id';
|
@Input() defaultSortBy = 'key';
|
||||||
|
|
||||||
@Output() performSorting = new EventEmitter<Sorting>();
|
@Output() performSorting = new EventEmitter<Sorting>();
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ export class SortComponent implements OnInit {
|
||||||
|
|
||||||
changeSortBy(sortBy: string) {
|
changeSortBy(sortBy: string) {
|
||||||
this.sort.sortBy = sortBy;
|
this.sort.sortBy = sortBy;
|
||||||
console.log(sortBy);
|
|
||||||
this.search();
|
this.search();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue