Skip to content

Commit

Permalink
fix: 削除譜面が「現行譜面のみ」で表示される問題を修正
Browse files Browse the repository at this point in the history
close #863
  • Loading branch information
slime-hatena committed May 9, 2024
1 parent 017937b commit 12ca91f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OngekiScoreLog/app/Http/Controllers/ViewUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@ public function getUserPage(Request $request, $id, $mode = null){
$archive = (int)$request->get('archive');
if ($archive === 0) {
// 現行譜面 / ゼロスコアを除外
$scoreDataModel->exclusionZeroScore();
$scoreDataModel->exclusionZeroScore()->exclusionDeletedMusic();
}elseif ($archive === 1) {
// 現行譜面表示
$scoreDataModel->exclusionDeletedMusic();
}elseif ($archive === 2) {
// 削除譜面のみ / ゼロスコアを除外
$score = $scoreDataModel->exclusionZeroScore()->exclusionNotDeletedMusic();
$scoreDataModel->exclusionZeroScore()->exclusionNotDeletedMusic();
}elseif ($archive === 3) {
// 削除譜面のみ
$score = $scoreDataModel->exclusionNotDeletedMusic();
$scoreDataModel->exclusionNotDeletedMusic();
}elseif ($archive === 4) {
// すべて表示(従来モード)
// 何もしない
Expand Down

0 comments on commit 12ca91f

Please sign in to comment.