JavaScript sorting by column in tasks

All questions/issues about qdPM installation/usage

Re: JavaScript sorting by column in tasks

Postby kindrosker » Wed Jan 23, 2013 5:33 am

I'm thinking next month
User avatar
Site Admin
Posts: 292
Joined: Fri Oct 07, 2011 9:42 am

Re: JavaScript sorting by column in tasks

Postby vfiuchcikicshuusrch » Wed Oct 31, 2018 5:20 pm

kindrosker wrote:code is different

for 7.0 version see
core\apps\frontend\modules\tasks\actions\components.class.php line 139
you have to add order by due date to dropdown
for example
Code: Select all
$this->orderTasksValuesList['due_date'] = I18NText::__('Due Date');

then see
core\apps\frontend\modules\tasks\actions\actions.class.php line 127
you have to add code
Code: Select all
case 'due_date':

if you want to change default sorting by due date then see
core\apps\frontend\modules\tasks\actions\actions.class.php line 40
and change it to
Code: Select all
$this->getUser()->setAttribute('orderTasksBy', 'due_date');

How can I do this on 9.1 version ?
User avatar
Posts: 6
Joined: Thu May 05, 2016 8:47 pm
Location: I-Town


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest