2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

New feature: Assign cases to any operator to be called next in queue

New feature: Unassign all cases in the queue in one click
This commit is contained in:
Adam Zammit
2018-02-28 14:38:59 +11:00
parent 0f552f88b0
commit 9be522e9ee
2 changed files with 61 additions and 7 deletions

View File

@@ -582,7 +582,7 @@ function get_case_id($operator_id, $create = false)
$sql = "SELECT cq.case_id, cq.case_queue_id
FROM case_queue as cq, `case` as c
WHERE cq.operator_id = '$operator_id'
WHERE (cq.operator_id = '$operator_id' OR cq.operator_id = 0)
AND cq.case_id = c.case_id
AND c.current_operator_id IS NULL
ORDER BY cq.sortorder ASC