← Back to team overview

mahara-contributors team mailing list archive

[Bug 1374184] [NEW] My groups block pagination fails when clean urls are in play

 

Public bug reported:

Now that we can paginate the list of groups on the my groups block there
is a problem when cleanurls are in place.

The pagination relies on scraping the url for the parameters to pass via
ajax to fetch the subsequent pages.

but with clean urls the user id is not in the url so fails to go to next
page.

To fix:

1) need to add a js variable to the page containing the user id number for the user whose profile page we are trying to view.
2) need to get the pagination js to add this id to the pagination params

Will mark this as a regression because before one could see all their
groups in a long list - now they can only see the first page

** Affects: mahara
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Affects: mahara/1.10
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress


** Tags: regression

** Also affects: mahara/trunk
   Importance: Undecided
       Status: New

** No longer affects: mahara/trunk

** Changed in: mahara
    Milestone: 1.10.0 => 1.11.0

** Also affects: mahara/1.10
   Importance: High
     Assignee: Robert Lyon (robertl-9)
       Status: In Progress

** Changed in: mahara/1.10
    Milestone: 1.11.0 => 1.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1374184

Title:
  My groups block pagination fails when clean urls are in play

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 1.10 series:
  In Progress

Bug description:
  Now that we can paginate the list of groups on the my groups block
  there is a problem when cleanurls are in place.

  The pagination relies on scraping the url for the parameters to pass
  via ajax to fetch the subsequent pages.

  but with clean urls the user id is not in the url so fails to go to
  next page.

  To fix:

  1) need to add a js variable to the page containing the user id number for the user whose profile page we are trying to view.
  2) need to get the pagination js to add this id to the pagination params

  Will mark this as a regression because before one could see all their
  groups in a long list - now they can only see the first page

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1374184/+subscriptions


Follow ups

References