mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
- fix "show completed tasks" checkbox was working incorrectly (thanks to Brad Nathan)
This commit is contained in:
parent
657f496c70
commit
8e61b1c681
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ class ListsController extends ApiController {
|
|||
Config::saveDomain('alltasks.json', $opts);
|
||||
}
|
||||
else {
|
||||
$bitwise = $showCompleted ? 'taskview & ~1' : 'taskview | 1';
|
||||
$bitwise = $showCompleted ? 'taskview | 1' : 'taskview & ~1';
|
||||
$db->dq("UPDATE {$db->prefix}lists SET taskview=$bitwise WHERE id=?", [$listId]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue