Skip to content
Snippets Groups Projects
Commit 3270bad2 authored by Daniel Bucher's avatar Daniel Bucher
Browse files

Merge branch 'danielsFeatures' into 'master'

Daniels features

See merge request !7
parents c7515eb1 cfdc7982
No related branches found
Tags v0.1
1 merge request!7Daniels features
......@@ -324,7 +324,7 @@ class AdminAdminPage extends AdminPage {
$this->getMessage() .
$this->getUserFileEditSection() .
$this->getNeueFahrtSection() .
$this->getCurrentFahrtSelectorSection() .'<br>'.
$this->getCurrentFahrtSelectorSection() .'<br>';
// $this->getArchiveSelectorSection() .'<br>';
}
......
......@@ -53,7 +53,8 @@ class Fahrt {
public static function getAlleFahrten() {
$tmpEnvironment = Environment::getEnv();
$fahrtenData = $tmpEnvironment->database->select('fahrten', Fahrt::$ALLOWED_FIELDS, 'ORDER BY fahrt_id DESC');
// $fahrtenData = $tmpEnvironment->database->select('fahrten', Fahrt::$ALLOWED_FIELDS, 'ORDER BY fahrt_id DESC');
$fahrtenData = $tmpEnvironment->database->select('fahrten', Fahrt::$ALLOWED_FIELDS, ["ORDER" => ["fahrt_id" => "DESC"]]);
if (empty($fahrtenData))
return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment