~aleteoryx/muditaos

ref: 8141bba67aea5321751734cf72872ae7d674631e muditaos/module-apps/application-music-player/doc/data/UpdateRepoSortRepeatModes.puml -rw-r--r-- 526 bytes
8141bba6 — Pawel Olejniczak [EGD-8114] Make ContactFlag item wider 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@startuml
skinparam BackgroundColor F0F0F0
start

if (repeatMode == Shuffle) then (yes) 
partition "**query** newData" {
    : ORDER BY RAND;
    }
else (no)
  if (sortMode == ByArtist) then (yes)
partition "**query** newData" {
    : ORDER BY Artist ASC, Title ASC;
    }
  else (no)
	 if (sortMode == ByAlbum) then (yes)
partition "**query** newData" {
	   : ORDER BY Album ASC, Title ASC;
	   }
	 else (no)
partition "**query** newData" {
	     : ORDER BY Title ASC, Artist ASC;
	     }
	 endif
  endif
endif

stop
@enduml