Fix #21816: correct Agenda filter (if no filter is selected)
This commit is contained in:
parent
f95612d9a5
commit
0bf814d558
@ -757,9 +757,10 @@ if ($type) {
|
|||||||
$sql .= " AND ca.id = ".((int) $type);
|
$sql .= " AND ca.id = ".((int) $type);
|
||||||
}
|
}
|
||||||
if ($status == '0') {
|
if ($status == '0') {
|
||||||
|
// To do (not started)
|
||||||
$sql .= " AND a.percent = 0";
|
$sql .= " AND a.percent = 0";
|
||||||
}
|
}
|
||||||
if ($status == '-1' || $status == 'na') {
|
if ($status == 'na') {
|
||||||
// Not applicable
|
// Not applicable
|
||||||
$sql .= " AND a.percent = -1";
|
$sql .= " AND a.percent = -1";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user