hydroshare / hydroshare

HydroShare is a collaborative website for better access to data and models in the hydrologic sciences.

Home Page:https://www.hydroshare.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discover interface should not show older versions of resources

dtarb opened this issue · comments

This appears to be a regressin of #1998. The discover interface is only supposed to display the latest version of a resource that has multiple versions

Steps to reproduce the bug:

  1. Go to Discover
  2. Enter "iUtah Research data"
  3. See multiple entries for different versions of the resource. You should only see the latest version listed.

image

I found this in the context of a different resource, so it is a problem for multiple resources. Search for "more reproducible" to see
image

thanks @dtarb

I'm getting a sense for the history here...
(2016) #1047
(2017) #1998
(2020) #4015
(2020) #4019

Looks like the most recent intentional fix was this PR from 2021:
https://github.com/hydroshare/hydroshare/pull/4017/files

My guess is that (assuming that Discovery of versioned resources worked after that PR) we regressed in the following update to our signal_processor:
#5054