Skip to content

Commit

Permalink
move sortable property on times fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lukavdplas committed Oct 31, 2024
1 parent 1ef29a6 commit 55a3853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/corpora/times/times.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def sources(self, start=datetime.min, end=datetime.max):
es_mapping={"type": "date", "format": "yyyy-MM-dd"},
hidden=True,
visualizations=["resultscount", "termfrequency"],
sortable=True,
search_filter=filters.DateFilter(
min_date,
max_date,
Expand Down Expand Up @@ -165,7 +166,6 @@ def sources(self, start=datetime.min, end=datetime.max):
es_mapping=keyword_mapping(),
csv_core=True,
results_overview=True,
sortable=True,
description="Publication date as full string, as found in source file",
extractor=extract.XML(Tag("da"), toplevel=True),
),
Expand Down

0 comments on commit 55a3853

Please sign in to comment.