Compare commits

..

2 Commits

2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@@ -10,5 +10,5 @@ video
download
*.log
webseiten
sternwarte/javascript
sternwarte/beoanswer/.env.production

View File

@@ -612,7 +612,7 @@ class RepoSoFue
// Bei status=4 (stattgefunden) macht 'neu' keinen Sinn, ignoriere termin
// termin kann 'all', 'neu' sein - nur 'neu' wird behandelt
if ($termin === 'neu' && (int)$status !== 4) {
$countSql .= " AND wtermin >= NOW()";
$countSql .= " AND wtermin >= CURDATE() - INTERVAL 1 DAY ";
}
// Lastdate-Filter auch beim Count hinzufügen
@@ -652,7 +652,7 @@ class RepoSoFue
// Bei status=4 (stattgefunden) macht 'neu' keinen Sinn, ignoriere termin
// termin kann 'all', 'neu' sein - nur 'neu' wird behandelt
if ($termin === 'neu' && (int)$status !== 4) {
$sql .= " AND wtermin >= NOW()";
$sql .= " AND wtermin >= CURDATE() - INTERVAL 1 DAY ";
}
// Lastdate-Filter hinzufügen