Fixed issue where enteries where shown by creation order instead of date of travel/visit

This commit is contained in:
2025-07-16 23:29:27 +02:00
parent e88269224c
commit 9c7ed76e4a

View File

@@ -8,7 +8,7 @@ if (!isset($_SESSION['name'])) {
require_once 'config/db.php'; require_once 'config/db.php';
$query = "SELECT * FROM items"; $query = "SELECT * FROM items ORDER BY date ASC";
$stmt = $pdo->prepare($query); $stmt = $pdo->prepare($query);
$stmt->execute(); $stmt->execute();