Skip to content

Commit

Permalink
Added new description to the keyword field with example (#393)
Browse files Browse the repository at this point in the history
* Added new description to the keyword field with example

* Update src/datadoc/frontend/fields/display_dataset.py

Co-authored-by: Cecilie Seim <68303562+tilen1976@users.noreply.github.com>

---------

Co-authored-by: Jorgen-5 <rlj@ssb.no>
Co-authored-by: Cecilie Seim <68303562+tilen1976@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 14, 2024
1 parent f58a0b4 commit 949e0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datadoc/frontend/fields/display_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class DatasetIdentifiers(str, Enum):
DatasetIdentifiers.KEYWORD: MetadataInputField(
identifier=DatasetIdentifiers.KEYWORD.value,
display_name="Nøkkelord",
description="Her kan en oppgi nøkkelord som beskriver datasettet, og som kan brukes i søk",
description="Her kan en oppgi nøkkelord som beskriver datasettet, og som kan brukes i søk. Nøkkelordene må legges inn som en kommaseparert streng. F.eks. befolkning, skatt, arbeidsledighet",
value_getter=get_comma_separated_string,
),
DatasetIdentifiers.SPATIAL_COVERAGE_DESCRIPTION: MetadataMultiLanguageField(
Expand Down

0 comments on commit 949e0d1

Please sign in to comment.