Skip to content

Commit

Permalink
RLPPTM: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nursix committed Sep 3, 2021
1 parent ad12e58 commit bc35046
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nursix-dev-5067-g3f5cd0bea (2021-08-31 13:54:08)
nursix-dev-5068-gad12e5830 (2021-09-03 14:28:17)
4 changes: 2 additions & 2 deletions modules/templates/RLPPTM/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ def restrict_data_formats(r):
allowed = ("html", "iframe", "popup", "aadata", "plain", "geojson", "pdf", "xls")
if r.record:
allowed += ("card",)
if r.method in ("report", "timeplot", "filter"):
if r.method in ("report", "timeplot", "filter", "lookup"):
allowed += ("json",)
if r.method == "options":
elif r.method == "options":
allowed += ("s3json",)
settings.ui.export_formats = ("pdf", "xls")
if r.representation not in allowed:
Expand Down

0 comments on commit bc35046

Please sign in to comment.