Fix sorting for missing columns

This should fix the sorting for rating, sample rate and bits per sample

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2023-08-20 23:16:47 -07:00
parent 702a52a93e
commit bfe2f03fbb
No known key found for this signature in database

View file

@ -657,6 +657,9 @@ static void *playlistControllerContext = &playlistControllerContext;
case 10:
case 11:
case 12:
case 13:
case 14:
case 15:
sortDescriptor = [[NSSortDescriptor alloc] initWithKey:[tableColumn identifier] ascending:ascending selector:@selector(caseInsensitiveCompare:)];
sortDescriptors = @[sortDescriptor];
break;