charts fix, bug introduced while refactoring
This commit is contained in:
parent
22bcf20c7c
commit
050c210f40
@ -64,6 +64,7 @@ def chart_name(name, **kwargs):
|
|||||||
|
|
||||||
|
|
||||||
def getpackages(**kwargs):
|
def getpackages(**kwargs):
|
||||||
|
packages = Package.objects
|
||||||
|
|
||||||
if 'category' in kwargs and kwargs['category']:
|
if 'category' in kwargs and kwargs['category']:
|
||||||
packages = Package.objects.for_category(kwargs['category'])
|
packages = Package.objects.for_category(kwargs['category'])
|
||||||
|
Loading…
Reference in New Issue
Block a user