on my 4.5.1 site the 'next page' link at the bottom of a story listing, such as this:
http://v2.shorelinegreenwaytrail.org/node?from=7
fails to page to the next 7 pages.
On drupal.org, however, that style link works.
if i manually change the link to
http://v2.shorelinegreenwaytrail.org/node&from=7
or, turn off clean urls
http://v2.shorelinegreenwaytrail.org/index.php?q=node&from=7
the next page links work.
to my mind's eye, the default url node?from=7
after it's been translated by Rewrite into /index.php?q=node?from=7
can't possibly be legal; it has 2 question marks in it and the second obviously ought to be an ampersand.
so i've riskily taken the step of tweaking url function definition with great success; so far nothing bad has turned up.....
on line 1542 of common.inc
, i changed
> return $base . $path .'?'. $query . $fragment;
to
> return $base . $path .'&'. $query . $fragment;
i guess i could have messed around with pager.inc pager_link() function but ...
furthermore, why is the pager link's syntax different from the normal taxonomy/term/23
or node/edit/41
syntax? For consistency, i'd think it should be node/from/7
i have clean urls enabled and my hosting ISP, modwest.com, changed my Rewrite rules slightly to prevent recursive memory consumption. i don't want to mess with this change cuz they'll get mad if i bring the server to its knees.
# Rewrite URLs of the form 'index.php?q=x':
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} ^$ [NC] # <-- changed
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA] # <-- changed with leading slash