Add comprehensive unit tests for invoicing period cache logic, system search behavior, and OpenAPI spec coverage. Expand search service with generic entity support and refine association type handling.

This commit is contained in:
Jeppe Bundgaard
2026-03-12 21:21:14 +01:00
parent 1190290899
commit a22a3f4ee9
8 changed files with 804 additions and 26 deletions
+1 -1
View File
@@ -1208,7 +1208,7 @@ class users_o extends db
}
$customerNumbers = [];
$sql = "SELECT customer_number FROM `$this->table` WHERE id IN (" . implode(',', array_map('intval', $userIds)) . ")";
$sql = "SELECT customer_number FROM $this->table WHERE id IN (" . implode(',', array_map('intval', $userIds)) . ")";
$result = $db->query($sql);
while ($row = $result->fetch_assoc()) {
$customerNumbers[] = (int)$row['customer_number'];