Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for 'Upcoming Tasks' not showing closest first #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Controller/EasycasesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5649,7 +5649,7 @@ function to_dos() {
project_users AS ProjectUser,projects AS Project WHERE ".$cond." ProjectUser.user_id='".SES_ID."' AND ProjectUser.project_id=Project.id AND
Project.isactive='1' AND ProjectUser.company_id='".SES_COMP."') AND ((Easycase.assign_to='".SES_ID."') OR
(Easycase.assign_to=0 AND Easycase.user_id='".SES_ID."')) ORDER BY Easycase.project_id DESC) AS Easycase LEFT JOIN projects AS Project
ON (Easycase.project_id=Project.id) ORDER BY Easycase.due_date DESC, Easycase.dt_created DESC LIMIT 0,$qry_limit";
ON (Easycase.project_id=Project.id) ORDER BY Easycase.due_date ASC, Easycase.dt_created DESC LIMIT 0,$qry_limit";
$gettodos = $this->Easycase->query($sql);
$tot = $this->Easycase->query("SELECT FOUND_ROWS() as total");

Expand Down