When the url the widget is displayed on contains a query string (e.g. ?destination=...) this is copied to the pager link.

The JavaScript code then incorrectly tries to get the page from the link (incorrect regex).

The supplied patch (created with svn, don't know how git works yet, sorry) changes the regex to only match numbers, this fixes the problem.

Also: I added a ; at the end of the first behavior, was missing in the latest dev.

Comments

bojanz’s picture

Status: Needs review » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.