ioos / ckanext-ioos-theme

IOOS Catalog as a CKAN extension
GNU Affero General Public License v3.0
7 stars 14 forks source link

Filter out duplicate Resources #98

Closed mwengren closed 7 years ago

mwengren commented 7 years ago

A colleague added some simple code to the NOAA Catalog to filter out duplicate resources (by URL and Name) for each dataset. This happens pretty often and the result is kind of ugly in CKAN. For example, there are 3 identical nanoos.org links in this dataset.

Can we try merging this code into our ckanext-spatial extension code?

lukecampbell commented 7 years ago

To follow up on this, do we want to determine uniqueness using both the name and the URL like in the code, or just the URL?

mwengren commented 7 years ago

Let's keep name and URL in the uniqueness test for now. There might be some reason they want to put two different names on the same URL (I think).