Merge pull request #263 from eReuse/feature/#3325-new-features-filter
fix the All devices option
This commit is contained in:
commit
28cf52baab
|
@ -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
|
||||||
|
|
Reference in New Issue