mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-17 14:28:24 +01:00
Sort equal results by resolver's weight
This commit is contained in:
parent
c93302c563
commit
0535d09f08
@ -408,7 +408,7 @@ Query::resultSorter( const result_ptr& left, const result_ptr& right )
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return right->resolvedBy()->weight() > left->resolvedBy()->weight();
|
||||
}
|
||||
|
||||
if ( left->isPreview() != right->isPreview() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user