If grouping by album name (therefore letter) need to use sort if non
empty
This commit is contained in:
@@ -183,7 +183,7 @@ void SqlLibraryModel::libraryUpdated()
|
||||
switch(albumSort) {
|
||||
case LibraryDb::AS_AlArYr:
|
||||
case LibraryDb::AS_AlYrAr:
|
||||
name=album.name.at(0).toUpper();
|
||||
name=album.sort.isEmpty() ? album.name.at(0).toUpper() : album.sort.at(0).toUpper();
|
||||
break;
|
||||
case LibraryDb::AS_ArAlYr:
|
||||
case LibraryDb::AS_ArYrAl:
|
||||
|
||||
Reference in New Issue
Block a user