Skip to content

Commit

Permalink
fix: order by
Browse files Browse the repository at this point in the history
  • Loading branch information
alnr committed Nov 8, 2024
1 parent e515024 commit 1eba6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persistence/sql/identity/persister_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ func QueryForCredentials(con *pop.Connection, where ...Where) (credentialsPerIde
).LeftJoin(identifiersTableNameWithIndexHint(con),
"identity_credential_identifiers.identity_credential_id = identity_credentials.id AND identity_credential_identifiers.nid = identity_credentials.nid",
).Order(
"identity_credentials.id ASC",
"identity_credential_identifiers.identifier ASC",
)
for _, w := range where {
q = q.Where("("+w.Condition+")", w.Args...)
Expand Down

0 comments on commit 1eba6f7

Please sign in to comment.