Skip to content

ユーザー一覧をプレソートするように#998

Merged
slime-hatena merged 4 commits intodevelopfrom
feat/pre-sort-all-user
Nov 2, 2025
Merged

ユーザー一覧をプレソートするように#998
slime-hatena merged 4 commits intodevelopfrom
feat/pre-sort-all-user

Conversation

@slime-hatena
Copy link
Copy Markdown
Member

ありがたいことにユーザーが増えて重すぎぃです

ありがたいことにユーザーが増えて重すぎぃです
Copilot AI review requested due to automatic review settings November 2, 2025 19:12
@github-actions github-actions bot added the Scope: Application Edited Application files label Nov 2, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR moves the sorting responsibility for user data from client-side JavaScript to server-side PHP to improve consistency and reliability.

  • Commented out client-side sorting in the JavaScript file
  • Added server-side sorting by created_at descending in the database query

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
OngekiScoreLog/resources/assets/js/sortAllUserTable.js Commented out the client-side default sort by 'sort_update'
OngekiScoreLog/app/UserStatus.php Added orderBy('t1.created_at', 'desc') to the database query for consistent server-side sorting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@slime-hatena slime-hatena merged commit c7b6aea into develop Nov 2, 2025
1 check passed
@slime-hatena slime-hatena deleted the feat/pre-sort-all-user branch November 2, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Application Edited Application files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants