file: pagination.module
function: pagination_preprocess_node
code:

$teaser = isset($variables['node']->teaser) ? $variables['node']->teaser : false;

I kown module's mean, only node/% path need this feature.

but $variables['node']->teaser means what is the node's teaser not show teaser or page.

I think, here should change to:

$tearser = $variables['teaser']

because the theme of node is:

    'node' => array(
      'arguments' => array('node' => NULL, 'teaser' => FALSE, 'page' => FALSE),
      'template' => 'node',
    ),

am I right

Comments

vipzhicheng’s picture

PS:

with this bug, if all node of the term page's teaser is null, the pager will not visible.

mundanity’s picture

Version: 6.x-1.7 » 6.x-1.x-dev
Status: Active » Fixed

Hi there,

Good catch, updated in dev.

Status: Fixed » Closed (fixed)

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