Skip to content
Snippets Groups Projects
Commit e7bb3b86 authored by Michael Kessler's avatar Michael Kessler
Browse files

[TASK] Fix location filter constraint

parent 120ba7e9
No related branches found
Tags 7.0.3
No related merge requests found
......@@ -223,7 +223,7 @@ class JobRepository extends Repository {
}
if ($filters['filterLocation'] !== '0' && $filters['filterLocation'] !== NULL) {
$constraints[] = $query->equals('company.name', $filters['filterLocation']);
$constraints[] = $query->equals('company.city', $filters['filterLocation']);
}
if ($filters['filterDepartment'] !== '0' && $filters['filterDepartment'] !== NULL) {
......
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