Message ID | 20120301044110.8814.85352.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava/utils/data_tables/backends.py' --- lava/utils/data_tables/backends.py 2012-02-15 23:32:25 +0000 +++ lava/utils/data_tables/backends.py 2012-03-01 04:39:00 +0000 @@ -109,7 +109,7 @@ # Get the basic response structure response = super(QuerySetBackend, self).process(query) # Get a queryset object - if self.queryset: + if self.queryset is not None: queryset = self.queryset else: queryset = self.queryset_cb(query.request)