Skip to content

Commit

Permalink
fix ubw filter
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jan 27, 2025
1 parent 40f318e commit 1a6bfa9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/genlab_bestilling/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class Meta:
class OrderFilter(filters.FilterSet):
def __init__(self, data=None, queryset=None, *, request=None, prefix=None):
super().__init__(data, queryset, request=request, prefix=prefix)
self.filters["genrequest__project"].extra["widget"] = (
autocomplete.ModelSelect2Multiple(url="autocomplete:project")
self.filters["genrequest__project"].extra["widget"] = autocomplete.ModelSelect2(
url="autocomplete:project"
)

class Meta:
Expand Down
4 changes: 4 additions & 0 deletions src/theme/static_src/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,7 @@ ol.breadcrumb > li + ::before {
border-right: 1px solid;
background-color: transparent;
}

.select2-container .select2-selection--single {
height: 3.2rem !important;
}

0 comments on commit 1a6bfa9

Please sign in to comment.