mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +00:00
Feature Update: Allow more than 100 rows in the zone list view. (#1491)
This commit is contained in:
commit
71405549a7
@ -141,7 +141,7 @@ def domains_custom(tab_id):
|
||||
filtered_count = domains.count()
|
||||
|
||||
start = int(request.args.get("start", 0))
|
||||
length = min(int(request.args.get("length", 0)), 100)
|
||||
length = min(int(request.args.get("length", 0)), max(100, int(Setting().get('default_domain_table_size'))))
|
||||
|
||||
if length != -1:
|
||||
domains = domains[start:start + length]
|
||||
|
Loading…
Reference in New Issue
Block a user