Search results display site as link rather than item

Hello all, Omeka S newbie here (I cannot emphasize newbie enough, lol). I’m working on an exhibit my university is in the process of creating and have encountered an issue with Search results that’s rather stumping me. I’ve had access to some of the work my predecessor did and a lot of my thinking stems from comparing what it looked like for them vs. what I’m looking at on this exhibit.

The essential problem is our Search results display with the Item in plain text, while the site name then displays below it as the link to the Item. Aside from the odd linking, the inclusion of site name with each result is unappealing and unnecessary.

The logical first step was to look at our Search config in the Site settings. Search Type is currently set to “All Sites”, which seems incorrect and probably the reason our Search is displaying oddly. However, if I change Search Type to “This Site” then it is breaking Search entirely and we get no results.

So that led me to investigating the Items, and contrary to the Items in my predecessor’s work, Site is displaying twice on the Item description (as the same site).


When I go into Item Edit under the Sites tab it only lists the site once, and there doesn’t seem to be anything else that would alter site information in the Edit function.

Is it logical to assume that the duplicated Site on the Items is what is causing the issue with Search breaking when set to “This Site”? And also that the need to “specify” the site it is a part of is why my Search results are otherwise displaying with the site name attached to every single search result? And finally, if that logic is sound, any thoughts on how I would go about fixing it?

Thanks!

The display in your first screenshot, yes, that’s specific to the “All sites” search mode: it lists the sites so it can handle situations where the same item appears in multiple sites.

When you say “This site” search is broken, it just shows zero results for any query, or an error message, or what?

Apologies, I could have been clearer about that.

The Sites list on the admin appearing twice, and this “not found” error when trying to view the search page, I don’t think I’ve seen either of those before. My initial suspicion would be that there’s a module doing something here to cause this problem.

:+1: Will go through and toggle modules and see what I can see

Meant to record here for posterity that toggling off the Connected Sites module appeared to fix the issue with the “not found” error. Site functions as it should, although worth noting that the double Sites listing remains on Items.