Created attachment 178820 [details] Dropdown example image Some libraries would like to have the option of filtering their searches by item type during their main search. I have attached an image as an example.
We are using the dropdown in the screenshot. It's convenient for patrons to be able to add these limits ahead of time even though they can also use the facets after they see the results.
(In reply to Sarah Cornell from comment #1) > We are using the dropdown in the screenshot. Is it a customization you've added via plugin or JS? Or a customization your support company did for you?
It's this JS. Not sure which developer created it, but it was ByWater not library staff. //BEGIN Add Search Limits dropdown to Main Search Box opac-main.pl $(document).ready(function() { // Append the dropdown to the search form if the element exists if ($("#opac-main-search .row.gx-2").length) { $("#opac-main-search .row.gx-2").append(` <div class="col-sm-auto order-2 order-sm-2"> <select id='item_types' class='form-select'> <option value=''>All Items</option> <option id='book_search' value='http://portsmouth.bywatersolutions.com/cgi-bin/koha/opac-search.pl?&limit=mc-itype%3AD1&limit=mc-itype%3AA&limit=mc-itype%3AD3&limit=mc-itype%3AB&limit=mc-itype%3AD7&limit=mc-itype%3AAN'>Books</option> <option id='audiobook_limit' value='http://portsmouth.bywatersolutions.com/cgi-bin/koha/opac-search.pl?&limit=mc-itype%3AQ&limit=mc-itype%3AQ3'>Books on CD</option> <option id='dvdmovie_limit' value='http://portsmouth.bywatersolutions.com/cgi-bin/koha/opac-search.pl?&limit=mc-itype%3AV&limit=mc-itype%3AV2&limit=mc-itype%3AVN'>DVDs</option> <option id='music_limit' value='http://portsmouth.bywatersolutions.com/cgi-bin/koha/opac-search.pl?&limit=mc-itype%3AX'>Music CDs</option> <option id='largetype_limit' value='http://portsmouth.bywatersolutions.com/cgi-bin/koha/opac-search.pl?&limit=mc-loc%3APBLP'>Large Print Books</option> <option id='digital_limit' value='http://portsmouth.bywatersolutions.com/cgi-bin/koha/opac-search.pl?&limit=mc-itype%3AY&limit=mc-itype%3AZ&limit=mc-itype%3AT&limit=mc-itype%3AJ'>Digital Content</option> </select> </div> `); console.log("Dropdown appended"); } else { console.log("Could not find target element (#opac-main-search .row.gx-2)"); }