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