mirror of https://github.com/itflow-org/itflow
Fix issue clients listing being broken with MySQL server due to not specifiying all non aggregate columns be in the GROUP BY Field, this was not an issue with mariaDB
This commit is contained in:
parent
e14fe2474c
commit
94c020f689
|
|
@ -21,7 +21,7 @@ $sql = mysqli_query(
|
|||
AND client_archived_at IS NULL
|
||||
AND DATE(client_created_at) BETWEEN '$dtf' AND '$dtt'
|
||||
AND clients.company_id = $session_company_id
|
||||
GROUP BY client_id
|
||||
GROUP BY clients.client_id, contacts.contact_id, locations.location_id, client_tags.client_tag_tag_id, tags.tag_id
|
||||
ORDER BY $sb $o LIMIT $record_from, $record_to
|
||||
");
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
var checkboxes = document.querySelectorAll('form input[type="checkbox"]');
|
||||
var selectedCount = document.getElementById("selectedCount");
|
||||
|
||||
|
|
@ -25,9 +23,7 @@ function updateSelectedCount() {
|
|||
}
|
||||
|
||||
function checkAll(source) {
|
||||
|
||||
for (var i = 0; i < checkboxes.length; i++) {
|
||||
checkboxes[i].checked = source.checked;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue