Browse Source

fixing

master
drfelfel 1 year ago
parent
commit
fa57144da7
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      src/routes/panel/volunteer/table/table.component.ts

+ 4
- 5
src/routes/panel/volunteer/table/table.component.ts View File

@ -151,12 +151,12 @@ export class TableComponent implements OnInit {
if ((x == 'sort') && (e.direction != '')) {
this.sort = e.active;
this.sortDirection = e.direction
}
switch (e.active) {
switch (this.sort) {
case 'name':
Query['sort'] = "information.firstname"
break;
@ -184,14 +184,13 @@ export class TableComponent implements OnInit {
default:
break;
}
Query['sortDirection'] = e.direction
Query['sortDirection'] = this.sortDirection
console.log(Query)
this.rayconnect.RequestBack({
scope: 'kateb',
uniqueID: 'profile',

Loading…
Cancel
Save