From 4b4e5dba62a462b8aff01c59ab9aa9e7e1130e21 Mon Sep 17 00:00:00 2001 From: David Raznick Date: Tue, 14 Aug 2012 00:44:00 +0200 Subject: [PATCH] fix broken show form --- ckanext/harvest/controllers/view.py | 1 - ckanext/harvest/templates_new/source/read.html | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ckanext/harvest/controllers/view.py b/ckanext/harvest/controllers/view.py index c2ef14e..a46fc9e 100644 --- a/ckanext/harvest/controllers/view.py +++ b/ckanext/harvest/controllers/view.py @@ -183,7 +183,6 @@ class ViewController(BaseController): try: context = {'model':model, 'user':c.user} c.source = get_action('harvest_source_show')(context, {'id':id}) - c.page = Page( collection=c.source['status']['packages'], page=request.params.get('page', 1), diff --git a/ckanext/harvest/templates_new/source/read.html b/ckanext/harvest/templates_new/source/read.html index ef5c53b..be8c9f0 100644 --- a/ckanext/harvest/templates_new/source/read.html +++ b/ckanext/harvest/templates_new/source/read.html @@ -88,7 +88,7 @@