SparkRossi / fluxcp

Automatically exported from code.google.com/p/fluxcp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Paginator doesn't work correctly #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Look at the "Monster", "Item" or anything else that uses a pager
2. Click a link down the bottom
3. The links in the pager are not trimming the URLs correctly

What is the expected output? What do you see instead?
The correct URLs in the hyperlink

What version of the product are you using? On what operating system?
SVN vsn ... 888?

Please provide any additional information below.
The problem is on line 295 of lib/Flux/Paginator.php. I fixed this on my
local copy by changing line 295 from:
$request = rtrim($this->requestURI, '?');

to:
$request = substr($this->requestURI, 0, strpos($this->requestURI,'?'));

Cheers

Original issue reported on code.google.com by neve...@gmail.com on 24 Dec 2008 at 2:24

GoogleCodeExporter commented 8 years ago
Fixed in r889.

Original comment by shugoten...@gmail.com on 24 Dec 2008 at 6:58

GoogleCodeExporter commented 8 years ago

Original comment by shugoten...@gmail.com on 24 Dec 2008 at 6:59