mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Fixed collection sorting.
This commit is contained in:
@@ -585,7 +585,8 @@ PlayableProxyModel::lessThan( const QModelIndex& left, const QModelIndex& right
|
|||||||
|
|
||||||
if ( p1->query() && p2->query() )
|
if ( p1->query() && p2->query() )
|
||||||
{
|
{
|
||||||
return lessThan( left.column(), p1->query(), p2->query() );
|
PlayableModel::Columns col = m_headerStyle[ m_style ].at( left.column() );
|
||||||
|
return lessThan( col, p1->query(), p2->query() );
|
||||||
}
|
}
|
||||||
if ( p1->album() && p2->album() )
|
if ( p1->album() && p2->album() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user