Merge pull request #263 from eReuse/feature/#3325-new-features-filter

fix the All devices option
This commit is contained in:
cayop 2022-05-10 11:03:23 +02:00 committed by GitHub
commit 28cf52baab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class FilterForm(FlaskForm):
# Generic Filters # Generic Filters
if "All Devices" == self.device_type: if "All Devices" == self.device_type:
filter_type = None filter_type = COMPUTERS + ["Monitor"] + MOBILE
elif "All Components" == self.device_type: elif "All Components" == self.device_type:
filter_type = COMPONENTS filter_type = COMPONENTS