Skip to content

Commit

Permalink
Merge pull request #864 from project-primera/fix/deleted-song-wrong
Browse files Browse the repository at this point in the history
削除譜面が「現行譜面のみ」で表示される問題を修正
  • Loading branch information
slime-hatena authored May 9, 2024
2 parents 67f2d1d + 12ca91f commit bd67466
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 bd67466

Please sign in to comment.