Commit b5da2be6 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Media: Regroup all unhandled sorting criteria in the default case

This will prevent having to manually update that list every time we add
a new criterion
parent 8ae74e99
......@@ -1065,10 +1065,7 @@ std::string Media::addRequestJoin( const QueryParameters* params, bool forceFile
album = true;
albumTrack = true;
break;
case SortingCriteria::NbAudio:
case SortingCriteria::NbVideo:
case SortingCriteria::NbMedia:
case SortingCriteria::TrackNumber:
default:
// Unrelated to media requests
break;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment