#856 modificar ticket/index
This commit is contained in:
parent
e52012ac41
commit
ad19761f0b
|
@ -13,6 +13,7 @@
|
|||
<vn-searchbar
|
||||
panel="vn-ticket-search-panel"
|
||||
on-search="model.applyFilter(null, $params);"
|
||||
filter="$ctrl.filter"
|
||||
vn-focus>
|
||||
</vn-searchbar>
|
||||
</vn-three>
|
||||
|
|
|
@ -9,6 +9,13 @@ export default class Controller {
|
|||
this.moreOptions = [
|
||||
{callback: this.goToTurns, name: 'Turns', always: true},
|
||||
];
|
||||
|
||||
let today = new Date();
|
||||
let offset = today.getTimezoneOffset() * 60000;
|
||||
today.setHours(0, 0, 0, 0);
|
||||
today.setTime(today.getTime() - offset);
|
||||
|
||||
this.filter = {myTeam: true, from: today};
|
||||
}
|
||||
|
||||
goToTurns() {
|
||||
|
|
Loading…
Reference in New Issue