Skip to content

Commit 28c3f25

Browse files
authored
Merge pull request #1 from ZeroDeng01/ZeroDeng01-patch-1
Fixed an issue with the 500 error code on the Streams listing page
2 parents 79d28f0 + 312e2ab commit 28c3f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/internal/stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ const internalStream = {
369369
.where('is_deleted', 0)
370370
.groupBy('id')
371371
.allowGraph('[owner,certificate]')
372-
.orderByRaw('CAST(incoming_port AS INTEGER) ASC');
372+
.orderBy('incoming_port', 'ASC');
373373

374374
if (access_data.permission_visibility !== 'all') {
375375
query.andWhere('owner_user_id', access.token.getUserId(1));

0 commit comments

Comments
 (0)