mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
fixed order_by syntax on history view
This commit is contained in:
parent
7986f56ac6
commit
e32186409a
@ -233,7 +233,7 @@ def dashboard():
|
|||||||
domain_count = Domain.query.count()
|
domain_count = Domain.query.count()
|
||||||
users = User.query.all()
|
users = User.query.all()
|
||||||
history_number = History.query.count()
|
history_number = History.query.count()
|
||||||
history = History.query.order_by("created_on desc").limit(4)
|
history = History.query.order_by(History.created_on.desc()).limit(4)
|
||||||
server = Server(server_id='localhost')
|
server = Server(server_id='localhost')
|
||||||
statistics = server.get_statistic()
|
statistics = server.get_statistic()
|
||||||
if statistics:
|
if statistics:
|
||||||
|
Loading…
Reference in New Issue
Block a user