Skip to content

Commit

Permalink
[#262] Fix helper import in controller group
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jan 9, 2013
1 parent 35f05c1 commit c86c61a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckan/controllers/group.py
Expand Up @@ -4,10 +4,10 @@
import datetime
from urllib import urlencode

from ckan.lib.base import BaseController, c, model, request, render, h, g
from ckan.lib.base import BaseController, c, model, request, render, g
from ckan.lib.base import ValidationException, abort, gettext
from pylons.i18n import get_lang, _
from ckan.lib.helpers import Page
import ckan.lib.helpers as h
import ckan.lib.maintain as maintain
from ckan.lib.navl.dictization_functions import DataError, unflatten, validate
from ckan.logic import NotFound, NotAuthorized, ValidationError
Expand Down Expand Up @@ -134,7 +134,7 @@ def index(self):

results = self._action('group_list')(context, data_dict)

c.page = Page(
c.page = h.Page(
collection=results,
page=request.params.get('page', 1),
url=h.pager_url,
Expand Down

0 comments on commit c86c61a

Please sign in to comment.