mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
Adjustment to be able to show ALL domain in dashboard table
This commit is contained in:
parent
f318c437c1
commit
63e7d89df1
@ -338,6 +338,8 @@ def dashboard_domains():
|
||||
|
||||
start = int(request.args.get("start", 0))
|
||||
length = min(int(request.args.get("length", 0)), 100)
|
||||
|
||||
if length != -1:
|
||||
domains = domains[start:start + length]
|
||||
|
||||
if current_user.role.name != 'Administrator':
|
||||
|
Loading…
Reference in New Issue
Block a user