Skip to content
Snippets Groups Projects
Commit 988123d8 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

correct typo in 79c112f6, fixes #1324

Closes #1324

Merge request studip/studip!809
parent 45abc7d8
No related branches found
No related tags found
No related merge requests found
......@@ -350,7 +350,7 @@ const Search = {
showFilter: function (category) {
var filters = $('#search-results').data('filters');
STUDIP.Search.hideAllFilters();
if (filters && filters.category !== undefined && category != 'show_all_categories') {
if (filters && filters[category] !== undefined && category != 'show_all_categories') {
for (let i = 0; i < filters[category].length; i++) {
$(`#${filters[category][i]}_filter`).show();
}
......
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