mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Make sure Query's resultSorter provides stable sorting.
This commit is contained in:
@@ -412,6 +412,8 @@ Query::resultSorter( const result_ptr& left, const result_ptr& right )
|
|||||||
{
|
{
|
||||||
return left->resolvedBy()->weight() > right->resolvedBy()->weight();
|
return left->resolvedBy()->weight() > right->resolvedBy()->weight();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return left->id() > right->id();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( left->isPreview() != right->isPreview() )
|
if ( left->isPreview() != right->isPreview() )
|
||||||
|
Reference in New Issue
Block a user