Fix search table argument ordering
This commit is contained in:
@@ -1625,9 +1625,9 @@ class system_search_service
|
||||
$customerNumbers,
|
||||
$customerField,
|
||||
$customerFieldMode,
|
||||
$fixedConditions,
|
||||
$allowedDepartmentIds,
|
||||
$departmentField,
|
||||
$fixedConditions
|
||||
$departmentField
|
||||
);
|
||||
|
||||
$this->primeCustomerContexts(array_values(array_unique(array_filter(
|
||||
@@ -1822,9 +1822,9 @@ class system_search_service
|
||||
* @param array<int, int> $customerNumbers
|
||||
* @param string|null $customerField
|
||||
* @param string $customerFieldMode
|
||||
* @param array<string, mixed> $fixedConditions
|
||||
* @param array<int, int> $departmentIds
|
||||
* @param string|null $departmentField
|
||||
* @param array<string, mixed> $fixedConditions
|
||||
* @return array<int, array<string, mixed>>
|
||||
*/
|
||||
private function searchTable(
|
||||
@@ -1835,9 +1835,9 @@ class system_search_service
|
||||
array $customerNumbers = [],
|
||||
?string $customerField = null,
|
||||
string $customerFieldMode = 'default',
|
||||
array $fixedConditions = [],
|
||||
array $departmentIds = [],
|
||||
?string $departmentField = null,
|
||||
array $fixedConditions = []
|
||||
?string $departmentField = null
|
||||
): array {
|
||||
global $db;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user