store search in session (#2735)
* allow to detect used query filters * allow to set label in action buttons * allow to reset last search from session * migrate invoice archive to new search system * display number of used search filters
This commit is contained in:
@@ -69,7 +69,13 @@ class TimesheetQuery extends ActivityQuery implements BillableInterface
|
||||
$this->setDefaults([
|
||||
'order' => self::ORDER_DESC,
|
||||
'orderBy' => 'begin',
|
||||
'dateRange' => new DateRange($resetTimes)
|
||||
'dateRange' => new DateRange($resetTimes),
|
||||
'exported' => self::STATE_ALL,
|
||||
'state' => self::STATE_ALL,
|
||||
'billable' => null,
|
||||
'tags' => [],
|
||||
'users' => [],
|
||||
'activities' => [],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user