Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f603f3b3
Commit
f603f3b3
authored
Jan 18, 2016
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issuable-group-projects' into 'master'
See merge request !2481
parents
31e7b393
d6a8021e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/finders/issuable_finder.rb
app/finders/issuable_finder.rb
+2
-1
No files found.
app/finders/issuable_finder.rb
View file @
f603f3b3
...
@@ -81,7 +81,8 @@ class IssuableFinder
...
@@ -81,7 +81,8 @@ class IssuableFinder
elsif
current_user
&&
params
[
:authorized_only
].
presence
&&
!
current_user_related?
elsif
current_user
&&
params
[
:authorized_only
].
presence
&&
!
current_user_related?
@projects
=
current_user
.
authorized_projects
.
reorder
(
nil
)
@projects
=
current_user
.
authorized_projects
.
reorder
(
nil
)
else
else
@projects
=
ProjectsFinder
.
new
.
execute
(
current_user
).
reorder
(
nil
)
@projects
=
ProjectsFinder
.
new
.
execute
(
current_user
,
group:
group
).
reorder
(
nil
)
end
end
end
end
...
...
Write
Preview
Markdown
is supported
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