Skip to content
Snippets Groups Projects
Commit 1d9444d9 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Fix country filter

parent dbb8b202
No related branches found
No related tags found
No related merge requests found
......@@ -58,12 +58,12 @@ class CompanyRepository extends Repository {
$countryName = $company->getCountry();
if ($countryName !== '') {
// The filtering needs this specific key for some reason.
$countryArray[$countryName] = $company->getUid();
$countryArray[$countryName] = $countryName;
}
}
ksort($countryArray);
return array_flip($countryArray);
return $countryArray;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment