mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-09-06 23:22:39 +00:00
fix: [UI crawler dashboard] block_languages_search: fix domains_types #110
This commit is contained in:
parent
777eed3b98
commit
dfb8ea4378
2 changed files with 6 additions and 3 deletions
|
@ -260,9 +260,12 @@ def domains_search_languages_get():
|
|||
page = int(page)
|
||||
except:
|
||||
page = 1
|
||||
|
||||
domains_types = request.args.getlist('domain_types')
|
||||
if domains_types:
|
||||
domains_types = domains_types[0].split(',')
|
||||
domains_types = Domain.sanitize_domain_types(domains_types)
|
||||
|
||||
languages = request.args.getlist('languages')
|
||||
if languages:
|
||||
languages = languages[0].split(',')
|
||||
|
@ -281,7 +284,7 @@ def domains_search_name():
|
|||
page = int(page)
|
||||
except:
|
||||
page = 1
|
||||
|
||||
|
||||
domains_types = request.args.getlist('domain_types')
|
||||
if domains_types:
|
||||
domains_types = domains_types[0].split(',')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue