Browse Source

Events are now ordered by date when pulled out of the MySQL DB

master
Dennis Potter 5 years ago
parent
commit
97902295fe
Signed by: d.potter GPG Key ID: 186A8AD440942BAF
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      admidio.py

+ 2
- 1
admidio.py View File

@ -74,7 +74,8 @@ class Admidio:
dat_headline, dat_description,
dat_location, dat_country, dat_rol_id
FROM {self.prefix}_dates
WHERE dat_begin >'{datestring}'"""
WHERE dat_begin >'{datestring}'
ORDER BY dat_begin"""
self.cursor.execute(sql)
for row in self.cursor.fetchall():


Loading…
Cancel
Save