Fix Page issue
Fixes the error generated when trying to select a different page.
This commit is contained in:
parent
91f2bed107
commit
86d8ca067c
|
@ -49,7 +49,7 @@ class RatingPackageController(PackageController):
|
|||
def search(self):
|
||||
cur_page = request.params.get('page')
|
||||
if cur_page is not None:
|
||||
c.current_page = self._get_page_number(request.params)
|
||||
c.current_page = h.get_page_number(request.params)
|
||||
else:
|
||||
c.current_page = 1
|
||||
c.pkg_type = 'dataset'
|
||||
|
|
Loading…
Reference in New Issue