Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ctools
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
ctools
Commits
a9c6812e
Commit
a9c6812e
authored
15 years ago
by
Earl Miles
Browse files
Options
Downloads
Patches
Plain Diff
Quick fix of typo
parent
a41cdc94
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
views_content/plugins/content_types/views.inc
+1
-1
1 addition, 1 deletion
views_content/plugins/content_types/views.inc
views_content/plugins/content_types/views_panes.inc
+1
-1
1 addition, 1 deletion
views_content/plugins/content_types/views_panes.inc
with
2 additions
and
2 deletions
views_content/plugins/content_types/views.inc
+
1
−
1
View file @
a9c6812e
...
...
@@ -191,7 +191,7 @@ function views_content_views_content_type_render($subtype, $conf, $panel_args, $
// Only set use_pager if they differ, this way we can avoid overwriting the
// pager type that Views uses.
if
(
!
$view
->
display_handler
->
set_option
(
'use_pager'
)
||
empty
(
$conf
[
'use_pager'
))
{
if
(
!
$view
->
display_handler
->
set_option
(
'use_pager'
)
||
empty
(
$conf
[
'use_pager'
]
))
{
$view
->
display_handler
->
set_option
(
'use_pager'
,
$conf
[
'use_pager'
]);
}
$view
->
display_handler
->
set_option
(
'pager_element'
,
$conf
[
'pager_id'
]);
...
...
This diff is collapsed.
Click to expand it.
views_content/plugins/content_types/views_panes.inc
+
1
−
1
View file @
a9c6812e
...
...
@@ -218,7 +218,7 @@ function views_content_views_panes_content_type_render($subtype, $conf, $panel_a
if
(
$allow
[
'use_pager'
])
{
// Only set use_pager if they differ, this way we can avoid overwriting the
// pager type that Views uses.
if
(
!
$view
->
display_handler
->
set_option
(
'use_pager'
)
||
empty
(
$conf
[
'use_pager'
))
{
if
(
!
$view
->
display_handler
->
set_option
(
'use_pager'
)
||
empty
(
$conf
[
'use_pager'
]
))
{
$view
->
display_handler
->
set_option
(
'use_pager'
,
$conf
[
'use_pager'
]);
}
$view
->
display_handler
->
set_option
(
'pager_element'
,
$conf
[
'pager_id'
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment