Skip to content

Commit

Permalink
Fix ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
kearfy committed May 16, 2024
1 parent 4e55300 commit c4c5b86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/[locale]/(console)/account/registrations/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function useData({
[RichAttends[], { count: number }[], (User | Team)[]]
>(
/* surql */ `
SELECT * FROM $auth->attends
SELECT *, out.start FROM $auth->attends
ORDER BY out.start
START $start
LIMIT $limit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function useData({
/* surql */ `
LET $event = <record<event>> $event;
SELECT * FROM attends
SELECT *, out.start, in.name FROM attends
WHERE $event IN tournament_path
ORDER BY out.start, in.name
START $start
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function useData({
/* surql */ `
LET $team = type::thing('team', $slug);
SELECT * FROM $team->attends
SELECT *, out.start FROM $team->attends
ORDER BY out.start
START $start
LIMIT $limit
Expand Down

0 comments on commit c4c5b86

Please sign in to comment.