Problem with pager in term browser

0 views
Skip to first unread message

Jesús García Crespo

unread,
May 21, 2009, 4:10:27 AM5/21/09
to Qubit Toolkit Developers
Hi Qubit Developers,

In apps/qubit/modules/term/templates/browseTermSuccess.php, it seems
that "next" button links to last page instead of next one.

apps/qubit/modules/term/templates/browseTermSuccess.php - Line 9:
- <?php echo link_to(__('next').' >', 'term/browse?termId='.
$termId.'&sortColumn='.$sortColumn.'&sortDirection='.
$sortDirection.'&page='.($informationObjects->getLastPage()+1)) ?>
+ <?php echo link_to(__('next').' >', 'term/browse?termId='.
$termId.'&sortColumn='.$sortColumn.'&sortDirection='.
$sortDirection.'&page='.($informationObjects->getPage()+1)) ?>

Regards,

Jesús

David at Artefactual

unread,
May 22, 2009, 6:03:01 PM5/22/09
to Qubit Toolkit Developers
Jesús,

Thanks for reporting this bug, I've opened a new issue (#804) for it.
http://code.google.com/p/qubit-toolkit/issues/detail?id=804


Cheers,
David Juhasz,
Software Engineer, Artefactual Systems Inc.
Reply all
Reply to author
Forward
0 new messages