Disable pagination for layer list

The layer list has a javascript-based search which won't interact well
with server-based pagination, so disable it for the moment.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2013-02-19 16:00:07 +00:00
parent 02f7ca3b2d
commit d5b15d2bdd

View File

@ -85,7 +85,6 @@ def _statuschange(request, name, newstatus):
class LayerListView(ListView):
context_object_name = 'layer_list'
paginate_by = 20
def get_queryset(self):
return LayerItem.objects.filter(status__in=self.request.session.get('status_filter', 'P')).order_by('name')