https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39216
--- Comment #3 from Sarah Cornell <sbcorn...@cityofportsmouth.com> --- 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)"); } -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/