diff --git a/src/libtomahawk/Query.cpp b/src/libtomahawk/Query.cpp index d891f6f7f..5c5ccc1e1 100644 --- a/src/libtomahawk/Query.cpp +++ b/src/libtomahawk/Query.cpp @@ -399,12 +399,11 @@ Query::resultSorter( const result_ptr& left, const result_ptr& right ) if ( ls == rs ) { - if ( !right->isPreview() ) + if ( right->resolvedByCollection() && right->resolvedByCollection()->isLocal() ) { return false; } - - if ( right->resolvedByCollection() && right->resolvedByCollection()->isLocal() ) + if ( !right->isPreview() ) { return false; }