-
Notifications
You must be signed in to change notification settings - Fork 0
Description
At the moment there's a disconnect between how the landing page has the user select an ontology term from a list, but we then perform a query on the search page for the title of that ontology term. AFAICT that's how the mockup intends to find studies, by first selecting an ontology term, then retrieving studies implicated by that term. I assume that because the mockup search results page doesn't include a search box, just an ontology term's title as the searched entity.
IMO we should rethink how the search results page is parameterized: ideally it'd receive an ontology ID and not have a search box on it, which makes it a lot easier to retrieve studies that relate to that term. Right now it's essentially repeating the search on the first page, then using a join table to determine which studies are related to that term, which at the moment is quite slow.
I'm also open to keeping the search box on the search results page, but I'll have to perform some optimizations to make it work.