The pager_link function ommits the &type argument
lereps - February 13, 2006 - 15:29
| Project: | Node Type Filter |
| Version: | 4.6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | lereps |
| Status: | closed |
Jump to:
Description
When you use the node type filter there is a major problem in the pager_link function :
the links to first, previous ... pages ignores the "&type=" argument.
you can fix it by modifying the pager.inc page:
in the function pager_link on line 383 :
replace the line
function pager_link($from_new, $element, $attributes = array()) {
$q = $_GET['q'];
with :
function pager_link($from_new, $element, $attributes = array()) {
$q = $_GET['q'].(($_GET[type])? '&type='.$_GET[type]:'');

#1
Have you got a solution that I can implement in this module? I cannot do a core hack.
Also see: http://drupal.org/node/74257
#2
If you have some follow-up, please reopen this issue.