csse-uoft / ckanext-udc

GNU Affero General Public License v3.0
1 stars 0 forks source link

Search results shows "datasets", convert to "Catalogues" #56

Closed bgajdero closed 9 months ago

bgajdero commented 10 months ago

Search results displays "datasets", and "dataset" when 1 result is found.

Needs to be converted to "catalogues" and "catalogue"

Example

Screenshot 2023-10-18 at 08 37 43
LesterLyu commented 10 months ago

Looks like this is imported via Giriraj's import script, which does not give the correct package type and imported into datasets.

LesterLyu commented 10 months ago

@hgiriraj79 please add https://github.com/csse-uoft/ckanext-udc/blob/946fc295705ce08c0c4202a7c8d0ad8f64653144/ckanext/udc_import/logic/import_data.py#L129 to the import script.

hgiriraj79 commented 10 months ago

I have pushed the above suggested code changes for ckan-import repo. This issue can now be closed.