mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 15:10:27 +00:00
Adjustment to show latest histories in the dashboard
This commit is contained in:
parent
981c38cacb
commit
2bc2f60721
@ -224,7 +224,7 @@ def dashboard():
|
||||
domain_count = Domain.query.count()
|
||||
users = User.query.all()
|
||||
history_number = History.query.count()
|
||||
history = History.query.limit(4)
|
||||
history = History.query.order_by("created_on desc").limit(4)
|
||||
server = Server(server_id='localhost')
|
||||
statistics = server.get_statistic()
|
||||
if statistics:
|
||||
|
Loading…
Reference in New Issue
Block a user