Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Project
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
apis
Project
Merge requests
!33
Sprint/201920
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Sprint/201920
Sprint/201920
into
master
Overview
0
Commits
8
Pipelines
2
Changes
15
Merged
Marcel Nellesen
requested to merge
Sprint/201920
into
master
5 years ago
Overview
0
Commits
8
Pipelines
2
Changes
15
Expand
Sprint/201920
Edited
5 years ago
by
Marcel Nellesen
0
0
Merge request reports
Compare
master
version 1
61430aef
5 years ago
master (base)
and
latest version
latest version
a9ed0b83
8 commits,
5 years ago
version 1
61430aef
7 commits,
5 years ago
15 files
+
75
−
57
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
15
Search (e.g. *.vue) (Ctrl+P)
src/Project/Controllers/DisciplineController.cs
+
1
−
1
Options
@@ -26,7 +26,7 @@ namespace Coscine.Api.Project.Controllers
{
return
Ok
(
_authenticator
.
ValidateAndExecute
((
user
)
=>
{
return
_disciplineModel
.
GetAll
().
Select
((
discipline
)
=>
new
DisciplineObject
(
discipline
.
Id
,
discipline
.
Url
,
discipline
.
DisplayName
));
return
_disciplineModel
.
GetAll
().
OrderBy
(
discipline
=>
discipline
.
DisplayNameDe
.
Substring
(
discipline
.
DisplayNameDe
.
Length
-
3
)).
Select
((
discipline
)
=>
new
DisciplineObject
(
discipline
.
Id
,
discipline
.
Url
,
discipline
.
DisplayName
De
,
discipline
.
DisplayNameEn
));
}));
}
}
Loading