Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
d361bd63
Commit
d361bd63
authored
May 04, 2015
by
alexpott
Browse files
Issue
#2478091
by willzyx: Pager is shown twice in admin/people if views module is disabled
parent
e2aaf40d
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/user/src/UserListBuilder.php
View file @
d361bd63
...
...
@@ -174,9 +174,8 @@ public function getOperations(EntityInterface $entity) {
* {@inheritdoc}
*/
public
function
render
()
{
$build
[
'accounts'
]
=
parent
::
render
();
$build
[
'accounts'
][
'#empty'
]
=
$this
->
t
(
'No people available.'
);
$build
[
'pager'
][
'#type'
]
=
'pager'
;
$build
=
parent
::
render
();
$build
[
'table'
][
'#empty'
]
=
$this
->
t
(
'No people available.'
);
return
$build
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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