From 63787a7bebc74a1ef5d9dbc3db30a223db8e2fd9 Mon Sep 17 00:00:00 2001 From: Gerard Date: Mon, 11 Mar 2019 08:11:48 +0100 Subject: [PATCH] showing client tickets from client descriptor works again --- modules/ticket/front/index/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ticket/front/index/index.js b/modules/ticket/front/index/index.js index 5d760b834..8c9d22fff 100644 --- a/modules/ticket/front/index/index.js +++ b/modules/ticket/front/index/index.js @@ -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