Skip to content
Snippets Groups Projects
Verified Commit 35b63fbf authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Sorting dle zarazeni do skupin

parent 915288d2
No related branches found
No related tags found
No related merge requests found
Pipeline #2746 passed
...@@ -2,7 +2,7 @@ image: docker:19.03.12 ...@@ -2,7 +2,7 @@ image: docker:19.03.12
variables: variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 1.10.0 IMAGE_VER: 1.10.1
services: services:
- docker:19.03.12-dind - docker:19.03.12-dind
......
...@@ -96,7 +96,8 @@ sub _users ($c, $search) { ...@@ -96,7 +96,8 @@ sub _users ($c, $search) {
USER: USER:
foreach my $user ( sort { foreach my $user ( sort {
$b->{priority} <=> $a->{priority} or $b->{included} <=> $a->{included} or
$b->{priority} <=> $a->{priority} or
lc($a->{firstname}) cmp lc($b->{firstname}) or lc($a->{firstname}) cmp lc($b->{firstname}) or
lc($a->{lastname}) cmp lc($b->{lastname}) lc($a->{lastname}) cmp lc($b->{lastname})
} @tmp ) { } @tmp ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment