← Back to team overview

mahara-contributors team mailing list archive

[Bug 1384529] [NEW] Comments pagination is off by one

 

Public bug reported:

When you view a page, if you pass showcomment=$commentid, it should set
pagination to display the page of comments containing $commentid.

There seems to be an off by one error as at the boundaries it doesn't
quite work.

If you try to show the first comment on a new page, it actually shows
the previous page.

** Affects: mahara
     Importance: Low
     Assignee: Yuliya Bozhko (yuliya.bozhko)
         Status: In Progress

** Changed in: mahara
   Importance: Undecided => Low

** Changed in: mahara
       Status: New => In Progress

-- 
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/1384529

Title:
  Comments pagination is off by one

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When you view a page, if you pass showcomment=$commentid, it should
  set pagination to display the page of comments containing $commentid.

  There seems to be an off by one error as at the boundaries it doesn't
  quite work.

  If you try to show the first comment on a new page, it actually shows
  the previous page.

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


Follow ups

References