diff --git a/lib/Db/RecentMapper.php b/lib/Db/RecentMapper.php index 10b640f..10a3dd2 100644 --- a/lib/Db/RecentMapper.php +++ b/lib/Db/RecentMapper.php @@ -25,6 +25,7 @@ class RecentMapper extends QBMapper { $qb = $this->db->getQueryBuilder(); $qb->select('*') ->from('recent') + ->orderBy('id', 'DESC') ->where($qb->expr()->eq('id', $qb->createNamedParameter($id, IQueryBuilder::PARAM_INT))) ->andWhere($qb->expr()->eq('user_id', $qb->createNamedParameter($userId))); return $this->findEntity($qb); @@ -39,6 +40,7 @@ class RecentMapper extends QBMapper { $qb = $this->db->getQueryBuilder(); $qb->select('*') ->from('recent') + ->orderBy('id', 'DESC') ->where($qb->expr()->eq('user_id', $qb->createNamedParameter($userId))); return $this->findEntities($qb); } diff --git a/src/components/Main.vue b/src/components/Main.vue index 20e773b..b2d1fc3 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -3,14 +3,6 @@ - - - - - -
-

{{ t('radio', 'Stream URL') }}

- -
-