Now diplaying albums in grid mode

This commit is contained in:
emeric
2020-05-18 18:12:35 +02:00
parent 6989c3aa81
commit 0655e75d7e
26 changed files with 387 additions and 378 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ Artist::getReleases(const std::set<IdType>& clusterIds) const
if (!clusterIds.empty())
oss << " GROUP BY t.id HAVING COUNT(DISTINCT c.id) = " << clusterIds.size();
oss << " ORDER BY t.year,r.name";
oss << " ORDER BY t.year DESC, r.name COLLATE NOCASE";
Wt::Dbo::Query<Release::pointer> query = session()->query<Release::pointer>( oss.str() );