Commit 6cd0d33e authored by merlinofchaos's avatar merlinofchaos

#240524: Use pager option always said "Mini" (fix by alpritt)

parent 9aed44cc
......@@ -493,7 +493,7 @@ class views_plugin_display extends views_object {
$options['use_pager'] = array(
'category' => 'basic',
'title' => t('Use pager'),
'value' => $this->get_option('use_pager') ? ($this->get_option('use_pager') ? t('Mini') : t('Yes')) : t('No'),
'value' => $this->get_option('use_pager') ? ($this->get_option('use_pager') == 'mini' ? t('Mini') : t('Yes')) : t('No'),
'desc' => t('Change this display\'s pager setting.'),
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment