Skip to content

Commit 79050da

Browse files
committed
Fix dataset-page rendering on unsummarised products
This fixes one of the tests added in previous commit.
1 parent 921701f commit 79050da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cubedash/_pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def search_page(
131131
)
132132

133133
# For display on the page (and future searches).
134-
if "time" not in query and product_summary:
134+
if "time" not in query and product_summary and product_summary.time_earliest:
135135
query["time"] = Range(
136136
product_summary.time_earliest,
137137
product_summary.time_latest + timedelta(days=1),

0 commit comments

Comments
 (0)