Currently, we have a different form and view method for searching each of our assets, papers, authors, datasets, venues, and clubs.
We need to consolidate these to a single form with a drop-down menu that allows the user to select which asset to search for. See for example the search bar at the top of the page at amazon.com.au.
This selection should be automatic based on the page a user is at. For example, if a user is viewing the papers index page, then the search box should default to searching papers. If the user is viewing the datasets index page, then search should default to searching datasets. The following is a strict requirement for this functionality,
There should not be an "all" option that searches across all assets as we do not have a view that can render such hybrid results.
Done Checklist
[x] Backend implementation of universal search
[x] Search box update to allow selecting asset to search. It should have the options, "Clubs", "Papers", "Authors", "Venues", "Datasets", and "Codes".
[x] Asset to search defaults based on the index page the user is viewing as explained above.
Currently, we have a different form and view method for searching each of our assets, papers, authors, datasets, venues, and clubs.
We need to consolidate these to a single form with a drop-down menu that allows the user to select which asset to search for. See for example the search bar at the top of the page at amazon.com.au.
This selection should be automatic based on the page a user is at. For example, if a user is viewing the papers index page, then the search box should default to searching papers. If the user is viewing the datasets index page, then search should default to searching datasets. The following is a strict requirement for this functionality,
Done Checklist