|
@@ -369,7 +369,7 @@ const internalStream = {
|
|
|
.where('is_deleted', 0)
|
|
|
.groupBy('id')
|
|
|
.allowGraph('[owner,certificate]')
|
|
|
- .orderByRaw('CAST(incoming_port AS INTEGER) ASC');
|
|
|
+ .orderBy('incoming_port', 'ASC');
|
|
|
|
|
|
if (access_data.permission_visibility !== 'all') {
|
|
|
query.andWhere('owner_user_id', access.token.getUserId(1));
|