parent
cab2f2d3a1
commit
e897a59559
|
|
@ -33,11 +33,6 @@ class Filters:
|
||||||
"""Property which checks if any applied filters were preloaded"""
|
"""Property which checks if any applied filters were preloaded"""
|
||||||
return any(f for f in self._filters if f.preload == True)
|
return any(f for f in self._filters if f.preload == True)
|
||||||
|
|
||||||
@property
|
|
||||||
def has_global(self):
|
|
||||||
"""Property which checks if any applied filters are global"""
|
|
||||||
return any(f for f in self._filters if f.preload == False)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def empty(self):
|
def empty(self):
|
||||||
"""Property which checks if the filter list is empty"""
|
"""Property which checks if the filter list is empty"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue