mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
When sorting results, check for local collection first.
This commit is contained in:
@@ -399,12 +399,11 @@ Query::resultSorter( const result_ptr& left, const result_ptr& right )
|
|||||||
|
|
||||||
if ( ls == rs )
|
if ( ls == rs )
|
||||||
{
|
{
|
||||||
if ( !right->isPreview() )
|
if ( right->resolvedByCollection() && right->resolvedByCollection()->isLocal() )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if ( !right->isPreview() )
|
||||||
if ( right->resolvedByCollection() && right->resolvedByCollection()->isLocal() )
|
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user