mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
IndexHandler: backward-compatibility for fl
(fields) param (#621)
This commit is contained in:
parent
ca14bdd8b2
commit
4224cdd7e5
@ -80,6 +80,8 @@ class IndexHandler(object):
|
||||
|
||||
output = params.get('output', self.DEF_OUTPUT)
|
||||
fields = params.get('fields')
|
||||
if not fields:
|
||||
fields = params.get('fl')
|
||||
|
||||
if fields and isinstance(fields, str):
|
||||
fields = fields.split(',')
|
||||
|
Loading…
x
Reference in New Issue
Block a user