Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
userswitch
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
userswitch
Merge requests
!2
Drupal 10 Fixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Drupal 10 Fixes
issue/userswitch-3290314:3290314-automated-drupal-10
into
8.x-1.x
Overview
0
Commits
4
Pipelines
0
Changes
4
Open
Ashish Prabhakar
requested to merge
issue/userswitch-3290314:3290314-automated-drupal-10
into
8.x-1.x
1 year ago
Overview
0
Commits
4
Pipelines
0
Changes
4
Expand
Closes
#3290314
👍
0
👎
0
Merge request reports
Compare
8.x-1.x
version 3
7a35ded1
10 months ago
version 2
4f243bba
1 year ago
version 1
106ca601
1 year ago
8.x-1.x (base)
and
latest version
latest version
2f23a900
4 commits,
10 months ago
version 3
7a35ded1
3 commits,
10 months ago
version 2
4f243bba
2 commits,
1 year ago
version 1
106ca601
1 commit,
1 year ago
4 files
+
25
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/Controller/UserSwitchController.php
+
1
−
0
Options
@@ -57,6 +57,7 @@ class UserSwitchController extends ControllerBase {
// For the pagination we need to extend the pagerselectextender and
// limit in the query.
$query
->
condition
(
'uid'
,
$_uid
,
'!='
);
$query
->
accessCheck
(
FALSE
);
$pager
=
$query
->
extend
(
'Drupal\Core\Database\Query\PagerSelectExtender'
)
->
limit
(
10
);
$results
=
$pager
->
execute
()
->
fetchAll
();
Loading