diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-12-17 17:27:50 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-12-17 17:27:50 -0800 |
commit | 20a1b02b9c12d2c06d64012ece772319a97bbdb7 (patch) | |
tree | 05e7e7d7737746e6c60678bdd47b09b0baadfa05 /app/src/main | |
parent | 369688d27af300182f69f17f09833f07a8411aab (diff) | |
download | dsub-20a1b02b9c12d2c06d64012ece772319a97bbdb7.tar.gz dsub-20a1b02b9c12d2c06d64012ece772319a97bbdb7.tar.bz2 dsub-20a1b02b9c12d2c06d64012ece772319a97bbdb7.zip |
When sorting albums alphabetically make sure to sort off getAlbumDisplay
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java b/app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java index 575d99f8..3c022cea 100644 --- a/app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java +++ b/app/src/main/java/github/daneren2005/dsub/domain/MusicDirectory.java @@ -609,7 +609,7 @@ public class MusicDirectory implements Serializable { } } - return lhs.getTitle().compareToIgnoreCase(rhs.getTitle()); + return lhs.getAlbumDisplay().compareToIgnoreCase(rhs.getAlbumDisplay()); } Integer lhsDisc = lhs.getDiscNumber(); @@ -632,7 +632,7 @@ public class MusicDirectory implements Serializable { } else if(rhsTrack != null) { return 1; } - + return lhs.getTitle().compareToIgnoreCase(rhs.getTitle()); } |