Active
Project:
Conference
Version:
6.x-1.2-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2007 at 18:15 UTC
Updated:
5 Nov 2009 at 05:04 UTC
This is a tiny, but critical bug. The pager_query and theme('pager') calls in the conference_manage_assignment function have different values for the $element argument. This leads to the theme_pager not producing page links at the bottom of the list of papers, so if the conference has any more than 25 papers submitted they cannot be assigned to a reviewer. It's a very simple fix in conference.module, just changing the $element argument's value from 0 to 5 in the pager_query call.
old line 805:
$result = pager_query($sql, 25, 0, NULL, $ctype_paper);
new line 805:
$result = pager_query($sql, 25, 5, NULL, $ctype_paper);
Comments
Comment #1
odisey commented6.x-1.2-beta2
This is a tiny, but critical bug. The pager_query and theme('pager') calls in the conference_manage_assignment function have different values for the $element argument. This leads to the theme_pager not producing page links at the bottom of the list of papers, so if the conference has any more than 25 papers submitted they cannot be assigned to a reviewer. It's a very simple fix in conference.module, just changing the $element argument's value from 0 to 5 in the pager_query call.
Edit one:
old line 591:
$result = pager_query($sql, 25, 0, NULL, $ctype_paper);
new line 591:
$result = pager_query($sql, 25, 5, NULL, $ctype_paper);
Edit two:
old line 2512:
$result = pager_query($sql, 25, 0, NULL, $ctype_paper);
new line 2512:
$result = pager_query($sql, 25, 5, NULL, $ctype_paper);