Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
49034dab
Commit
49034dab
authored
Jul 07, 2014
by
Alex Pott
Browse files
Issue
#2229771
by Alan D.: Fixed Pager quantity of 10 is inconsistent with the rest of core.
parent
fe76b9a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/views.module
View file @
49034dab
...
...
@@ -120,7 +120,7 @@ function views_theme($existing, $type, $theme, $path) {
// Our extra version of pager from pager.inc
$hooks
[
'views_mini_pager'
]
=
$base
+
array
(
'variables'
=>
array
(
'tags'
=>
array
(),
'quantity'
=>
10
,
'element'
=>
0
,
'parameters'
=>
array
()),
'variables'
=>
array
(
'tags'
=>
array
(),
'quantity'
=>
9
,
'element'
=>
0
,
'parameters'
=>
array
()),
'template'
=>
'views-mini-pager'
,
);
...
...
@@ -134,7 +134,7 @@ function views_theme($existing, $type, $theme, $path) {
'exposed_form'
=>
array
(
'view'
=>
NULL
,
'options'
=>
NULL
),
'pager'
=>
array
(
'view'
=>
NULL
,
'options'
=>
NULL
,
'tags'
=>
array
(),
'quantity'
=>
10
,
'element'
=>
0
,
'parameters'
=>
array
()
'tags'
=>
array
(),
'quantity'
=>
9
,
'element'
=>
0
,
'parameters'
=>
array
()
),
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment