cernopendata / opendata.cern.ch

Source code for the CERN Open Data portal
http://opendata.cern.ch/
GNU General Public License v2.0
656 stars 147 forks source link

search: change number_of_events to number_events for the search #3673

Closed katilp closed 1 day ago

katilp commented 3 weeks ago

The search facet shows:

image

but selecting any of the choices produces 0 results

https://opendata.cern.ch/search?q=&f=type%3ADataset&f=number_of_events%3A%2010000000%20--&l=list&order=desc&p=1&s=10&sort=mostrecent

Changing number_of_events to number_events (the name of the json field in the records) fixes it:

https://opendata.cern.ch/search?q=&f=type%3ADataset&f=number_events%3A%2010000000%20--&l=list&order=desc&p=1&s=10&sort=mostrecent

psaiz commented 3 weeks ago

Hi Kati,

Thanks for the issue, and for debugging it!

I'll look into it.

Best, pablo