Skip to content
Snippets Groups Projects
Commit 56024be7 authored by Sergiu-Lucian Petrica's avatar Sergiu-Lucian Petrica
Browse files

Fixed filtering on subsequent filter actions

parent 8146fdf6
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,7 @@ class FrontendFilterService {
$result = [];
$result[0] = '';
foreach ($jobFunctions as $jobFunction) {
$result[$jobFunction['job_function']] = $jobFunction['job_function'];
$result[$jobFunction['function']] = $jobFunction['function'];
}
return $result;
......
......@@ -12,7 +12,7 @@ export default class FileAjax {
*/
constructor() {
$('.remove-file').on('click', this._removeFile);
$('.sgjobs-select').on('change', this._filterJoblist);
$('#sgjobs-joblist').delegate('.sgjobs-select', 'change', this._filterJoblist);
}
/**
......
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