aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-05-26 17:50:18 -0500
committerJP Dillingham <jp@dillingham.me>2025-05-26 17:50:18 -0500
commit068542fc0d07840eb49dc5f70c578ae31ace1048 (patch)
tree7ea0e6c54838cb71f8a23a3f1947f9388c1382de /src
parentd57d8a065bc384442199a91a7a388dc14b733f9e (diff)
downloadslskd-068542fc0d07840eb49dc5f70c578ae31ace1048.tar.gz
add context to note
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Transfers/Uploads/UploadService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Transfers/Uploads/UploadService.cs b/src/slskd/Transfers/Uploads/UploadService.cs
index 1dcd7406..7e96533e 100644
--- a/src/slskd/Transfers/Uploads/UploadService.cs
+++ b/src/slskd/Transfers/Uploads/UploadService.cs
@@ -489,7 +489,7 @@ namespace slskd.Transfers.Uploads
.AsNoTracking()
.Where(t => t.Direction == TransferDirection.Upload)
.Where(expression)
- .GroupBy(t => true) // https://stackoverflow.com/a/25489456
+ .GroupBy(t => true) // https://stackoverflow.com/a/25489456: The GroupBy(x => true) statement places all items into a single group. The Select statement the allows operations against each group.
.Select(t => new
{
Files = t.Count(),