From 0112302658ec69cf99d552b1eade5f45642a2e51 Mon Sep 17 00:00:00 2001 From: domjos1994 Date: Fri, 12 Oct 2018 16:55:38 +0200 Subject: [PATCH] update to release 0.0.3 --- Classes/Domain/Repository/TimelineEventRepository.php | 2 +- ext_tables.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Domain/Repository/TimelineEventRepository.php b/Classes/Domain/Repository/TimelineEventRepository.php index 0c28581..99b2c03 100644 --- a/Classes/Domain/Repository/TimelineEventRepository.php +++ b/Classes/Domain/Repository/TimelineEventRepository.php @@ -8,7 +8,7 @@ class TimelineEventRepository extends Repository { public function getContentElementEntries($uid) { $query = $this->createQuery(); - $query->statement("SELECT * FROM tx_timeline_domain_model_timelineevent WHERE timetable_id=$uid"); + $query->statement("SELECT * FROM tx_timeline_domain_model_timelineevent WHERE timetable_id=$uid ORDER BY start_date"); $result = $query->execute(); return $result; } diff --git a/ext_tables.sql b/ext_tables.sql index 3ad5ba1..061b27e 100644 --- a/ext_tables.sql +++ b/ext_tables.sql @@ -8,7 +8,7 @@ CREATE TABLE tx_timeline_domain_model_timelineevent ( start_date int(11) DEFAULT '0' NOT NULL, end_date int(11) DEFAULT '0', timetable_id int(11) unsigned DEFAULT '0', - format text NOT NULL DEFAULT 'd.M.Y', + format varchar(15) NOT NULL DEFAULT 'd.M.Y', side int(11) unsigned NOT NULL DEFAULT '0', tstamp int(11) unsigned DEFAULT '0' NOT NULL,