Advanced export box now obeys allow_csv_stream config - refs #266

This commit is contained in:
Simon Willison 2018-06-18 08:11:11 -07:00
commit 54f805dca3
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
3 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@
CSV options:
<label><input type="checkbox" name="_dl"> download file</label>
{% if expandable_columns %}<label><input type="checkbox" name="_labels"> expand labels</label>{% endif %}
{% if next_url %}<label><input type="checkbox" name="_stream"> stream all rows</label>{% endif %}
{% if next_url and config.allow_csv_stream %}<label><input type="checkbox" name="_stream"> stream all rows</label>{% endif %}
<input type="submit" value="Export CSV">
{% for key, value in url_csv_args.items() %}
{% if key != "_labels" %}