Problem List always return page 1

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
waluyo
Posts: 64
Joined: Wed Mar 14, 2012 4:46 pm
Location: UTHM - Malaysia

Problem List always return page 1

Postby waluyo » Fri Jun 22, 2012 7:41 pm

In organizing team (conference manager > organizing team) I created Reviewers then add memberships. The number of reviewers 75.

When I want to rearrange the order of the reviewers, there are two pages (1 2 >>). Everytime I click 2 or >> it always returns to page 1. I cannot go to page 2. I can rearrange the order of the reviewers in page 1 only, cannot go to page 2.

For your information, I have set the number of list (Website management - Step 3 -No3 List) I set 50.

The strange behaviour only in this organizing team. Others ok, I can go to page 2.

Is this kind of bug?

Regards, waluyo

waluyo
Posts: 64
Joined: Wed Mar 14, 2012 4:46 pm
Location: UTHM - Malaysia

Re: Problem List always return page 1

Postby waluyo » Sat Jun 23, 2012 12:17 am

I think I have found the problem
I can fix that if I change the code here (remove 's'):
/templates/manager/groups/memberships.tpl
from

Code: Select all

<td align="right">{page_links anchor="membership" name="memberships" iterator=$memberships}</td>

to

Code: Select all

<td align="right">{page_links anchor="membership" name="membership" iterator=$memberships}


Now I can move from page 1 to 2 and go to 1 again without any problem. :)

I am using OCS 2.3.4

Regards, Waluyo

waluyo
Posts: 64
Joined: Wed Mar 14, 2012 4:46 pm
Location: UTHM - Malaysia

Re: Problem List always return page 1

Postby waluyo » Sat Jun 23, 2012 2:40 am

forget to include </td>

Code: Select all

<td align="right">{page_links anchor="membership" name="membership" iterator=$memberships}</td>

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

Re: Problem List always return page 1

Postby asmecher » Sun Jun 24, 2012 3:34 pm

Hi Waluyo,

Thanks for contributing! I've posted a bug entry at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7623, with a slightly different fix (that is a little more consistent with pluralization elsewhere in the code. Could you try that fix instead and report whether or not it works?

Regards,
Alec Smecher
Public Knowledge Project Team

waluyo
Posts: 64
Joined: Wed Mar 14, 2012 4:46 pm
Location: UTHM - Malaysia

Re: Problem List always return page 1

Postby waluyo » Sun Jun 24, 2012 6:57 pm

Hi Alec Smecher,

Yes it works, the group membership paging is ok now.
You may close that bug and change the status 7623 (duplicate 7622) to RESOLVED ?

Regards, Waluyo

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

Re: Problem List always return page 1

Postby asmecher » Mon Jun 25, 2012 6:12 am

Hi Waluyo,

Great, and thanks also for spotting the duplicate.

Regards,
Alec Smecher
Public Knowledge Project Team


Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 13 guests