spotlight icon indicating copy to clipboard operation
spotlight copied to clipboard

No choice of result page types in default application

Open mephillips-durham opened this issue 2 years ago • 0 comments

Most Spotlight production systems offer a choice of results page types such as list view, gallery, masonry etc. The wiki implies that this is the default, and that users can also choose the number of results to show per page.

In a freshly-bootstrapped Spotlight application, without any configuration changes, the buttons to choose the number of results per page and the type of results page to use are not present. I have been unable to find any information on how to turn them on.

Background investigations

On the Stanford Spotlight, the tools in question are part of the div with class sortAndPerPage, and more specifically, inside the div with class equal to search-widgets. The classes for the tools are per_page-dropdown and view-type.

In a freshly-made application, on the results page we have a div with class of sortAndPerPage but the search-widgets div only contains the "Save this search" and the "Bulk actions" buttons.

mephillips-durham avatar Nov 21 '23 12:11 mephillips-durham