Skip to content

Commit

Permalink
Remove organization and group facet and update dataset schema
Browse files Browse the repository at this point in the history
  • Loading branch information
blagojabozinovski committed Oct 24, 2024
1 parent 28a1f0b commit 97f6ff9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 4 additions & 4 deletions ckanext/alisea/alisea_dataset_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ dataset_fields:

- field_name: agroecology_category
label:
en: Agroecology Category
en: Agroecology categories
vi:
km:
my_MM:
Expand Down Expand Up @@ -324,7 +324,7 @@ dataset_fields:
lo:

- field_name: agroecology_keyword
label: Agroecology Keyword
label: Agroecology keywords
form_snippet: agroecology_keyword.html
preset: multiple_select
choices:
Expand Down Expand Up @@ -1819,7 +1819,7 @@ dataset_fields:
preset: dataset_organization

- field_name: author
label: Author
label: Authors
form_placeholder: Joe Bloggs
display_property: dc:creator

Expand Down Expand Up @@ -2019,7 +2019,7 @@ dataset_fields:


- field_name : spatial
label: Spatial
label: Spatial information
form_placeholder : {\"type\": \"Point\", \"coordinates\": [8.609762390208658, 47.40381297881529]}

- field_name: country
Expand Down
6 changes: 0 additions & 6 deletions ckanext/alisea/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ def dataset_facets(self, facet_dict, package_type):
("type_of_document", "Document Type"),
("type_of_alisea_product", "Type of Alisea Product"),
("language", "Language"),
("organization", "Organizations"),
("groups", "Groups"),
("agroecology_category", "Agroecology Category"),
("agroecology_keyword", "Agroecology Keyword"),
("res_format", "Format"),
Expand All @@ -60,8 +58,6 @@ def group_facets(self, facet_dict, group_type, package_type):
("type_of_document", "Document Type"),
("type_of_alisea_product", "Type of Alisea Product"),
("language", "Language"),
("organization", "Organizations"),
("groups", "Groups"),
("agroecology_category", "Agroecology Category"),
("agroecology_keyword", "Agroecology Keyword"),
("res_format", "Format"),
Expand All @@ -75,8 +71,6 @@ def organization_facets(self, facet_dict, organization_type, package_type):
("type_of_document", "Document Type"),
("type_of_alisea_product", "Type of Alisea Product"),
("language", "Language"),
("organization", "Organizations"),
("groups", "Groups"),
("agroecology_category", "Agroecology Category"),
("agroecology_keyword", "Agroecology Keyword"),
("res_format", "Format"),
Expand Down

0 comments on commit 97f6ff9

Please sign in to comment.