Opened 3 years ago

Closed 3 years ago

#2395 closed Bug (fixed)

"Previous" Paging in visitor log always comes back to first page, but still shows "Previous"

Reported by: n0v1 Owned by:
Priority: low Milestone: Future releases
Component: UI - UX (AngularJS, twig, less) Keywords: visitor log, paging
Cc: Sensitive: no

Description

In visitor log clicking the previous link always directs you to the first entries for selected date range. After clicking "previous" the next link stops working as well.

Reported in german support forum: http://forum.piwik.org/read.php?5,76470

Change History (4)

comment:1 Changed 3 years ago by matt (mattab)

  • Component changed from Core to UI (templates, javascript)
  • Milestone set to Feature requests
  • Priority changed from normal to low
  • Summary changed from Paging in visitor log is broken after clicking "Previous" to "Previous" Paging in visitor log always comes back to first page, but still shows "Previous"

Yes this is a known limitation. I agree that the Previous button should be hidden, but clicking previous will always show the first page (the way we do paging)

comment:2 Changed 3 years ago by n0v1

Ok, I see. Perhaps Previous should then be renamed to e.g. First?

Nevertheless the Next link should work as expected and direct you to the following page of entries, shouldn't it? In my setup, if the Previous link has been clicked one or more times the Next link will just redisplay the first page of visitors.

comment:3 Changed 3 years ago by bohare

Not sure if this has anything to do with this, but Firefox has a great plugin called autopager (https://addons.mozilla.org/en-US/firefox/addon/autopager/). I have been unable to setup autopager to pull the next page when scrolling down.

To have to click Next through pages and pages of hits looking for something is an annoyance. A tool like autopager can easily get the next page.

Has anyone successfully gotten autopager to work with the Visitor Log?

comment:4 Changed 3 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [4794]) Fixes #2395
On the visitor Log table, "Previous" is displayed as "First" (thanks for suggestion n0v1)
Also, "First" is hidden on first page as expected after it was clicked

Note: See TracTickets for help on using tickets.