Closed (fixed)
Project:
CVS integration
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
12 Sep 2004 at 10:49 UTC
Updated:
30 Oct 2004 at 01:20 UTC
Jump to comment: Most recent file
Seems like the first click works, the second click doesn't.
The url
http://drupal.org/cvs?from=30&q=cvs&from=20
has from= twice.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | cvs-fix-pager-2.patch | 723 bytes | TDobes |
| #2 | cvs-fix-pager.patch | 688 bytes | TDobes |
Comments
Comment #1
TDobes commentedReclassifying as a cvslog.module bug.
Comment #2
TDobes commentedI've attached a patch which seems to fix the problem for me... there may be a more efficient solution by unsetting the values directly in the $_GET superglobal, but I was hesitant to do this, as it may cause side effects elsewhere.
Please review and/or apply before the next update of drupal.org, as this seriously limits the usability of the web-based cvs messages.
Comment #3
TDobes commentedWhoops... here's an updated patch. It supercedes the previous one.
As the repository parameter becomes part of the path (not an attribute), it shouldn't be passed to the pager either.
Comment #4
(not verified) commentedFor an example of the problem, navigate to the drupal.org cvs log and attempt to click "next page" twice in a row. You'll notice that you get two "from" parameters in the URL in addition to an unnecessary "q" parameter.
Comment #5
TDobes commentedComment #6
(not verified) commented