data.gov icon indicating copy to clipboard operation
data.gov copied to clipboard

Remove broken link beneath catalog search bar

Open btylerburton opened this issue 3 years ago • 2 comments

After I search for a topic (ex. healthcare) on data.gov catalog, I am presented with a message "You are searching in the list of datasets. Show results in entire Data.gov site."

Upon clicking this link, I am presented with a data.gov 404 page.

This is rendered from datagovtheme: https://github.com/GSA/ckanext-datagovtheme/blob/main/ckanext/datagovtheme/templates/package/search.html#L87

How to reproduce

  1. Search for any issue
  2. Click link beneath search bar
  3. See 404

Expected behavior

I would expect this to present more datasets than originally searched for.

Actual behavior

Users get a 404 page.

Sketch

  • [ ] Determine reason for the link's presence in datagovtheme, if possible.
  • [ ] Remove link if no longer needed

btylerburton avatar Oct 12 '22 18:10 btylerburton

If you notice, this search is being done by data.gov which I would assume was the old wordpress site, so I'm not sure this is a catalog issue.

image

nickumia-reisys avatar Oct 14 '22 16:10 nickumia-reisys

We can remove it from catalog for now, before we re-enable static site search on the www site.

FuhuXia avatar Oct 14 '22 16:10 FuhuXia

Removed this broken link from the search result page:

Image

.html

Jin-Sun-tts avatar Oct 26 '22 20:10 Jin-Sun-tts

💇

nickumia-reisys avatar Feb 02 '23 22:02 nickumia-reisys