Merge branch 'test' into dev
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
commit
562403cd0a
|
@ -12,7 +12,6 @@ export default class Controller {
|
|||
this.goToTurns('ticket.weekly');
|
||||
}, name: 'Turns', always: true},
|
||||
];
|
||||
this.filter = {};
|
||||
|
||||
if (!$stateParams.q) {
|
||||
let today = new Date();
|
||||
|
@ -25,7 +24,7 @@ export default class Controller {
|
|||
sixDays.setDate(today.getDate() + 6);
|
||||
sixDays.setHours(23, 59, 59, 999);
|
||||
|
||||
this.filter = Object.assign(this.filter, {myTeam: true, from: today, to: sixDays});
|
||||
this.filter = Object.assign({}, {myTeam: true, from: today, to: sixDays});
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -35,6 +34,7 @@ export default class Controller {
|
|||
}
|
||||
|
||||
onSearch(params) {
|
||||
console.log(params);
|
||||
if (params)
|
||||
this.$.model.applyFilter(null, params);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue