Skip to content

Commit

Permalink
fix: fix inverse boolean logic
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Oct 22, 2024
1 parent db9a9a6 commit b0ae6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/API/v3/Helpers/ModelHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ public static ListResult<File> FilterFiles(IEnumerable<SVR_VideoLocal> input, SV
// Sorting.
if (sortOrder != null && sortOrder.Count > 0)
enumerable = File.OrderBy(enumerable, sortOrder);
else if (skipSort)
else if (!skipSort)
enumerable = File.OrderBy(enumerable, new()
{
// First sort by import folder from A-Z.
Expand Down

0 comments on commit b0ae6be

Please sign in to comment.