Skip to content

Commit 30f3cd2

Browse files
authored
fix: remove bad orderby in getUsers (#1265)
2 parents 6f3751f + 2318b6f commit 30f3cd2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/backend/src/datasources/postgres/UserDataSource.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ export default class PostgresUserDataSource implements UserDataSource {
506506
.select(['*', database.raw('count(*) OVER() AS full_count')])
507507
.from('users')
508508
.join('institutions as i', { 'users.institution_id': 'i.institution_id' })
509-
.orderBy('users.user_id', orderDirection)
510509
.modify((query) => {
511510
if (filter) {
512511
query.andWhere((qb) => {

0 commit comments

Comments
 (0)