Skip to content

Commit

Permalink
Fixes search to filter only the unassigned categories.
Browse files Browse the repository at this point in the history
Signed-off-by: Thiago <[email protected]>

gitlab-issue: 229
  • Loading branch information
thiagolepidus committed Sep 21, 2021
1 parent da58304 commit da95595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/pages/submission/SubmissionCategoriesFilterHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
var self = this,
filter = self.formatText(
$(sourceElement).val());
$('.categories_list li').filter(function() {
$('.unassigned_categories li').filter(function() {
var category = self.formatText(
$('label', this).text());
$(this).toggle(category.indexOf(filter) > -1);
Expand Down

0 comments on commit da95595

Please sign in to comment.