[Koha-bugs] [Bug 39216] Add an item type dropdown filter to the OPAC main search

2025-05-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39216

--- Comment #3 from Sarah Cornell  ---
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(`
  

  All Items
  Books
  Books
on CD
  DVDs
  Music
CDs
  Large
Print Books
  Digital
Content

  
`);
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
[email protected]
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/


[Koha-bugs] [Bug 39216] Add an item type dropdown filter to the OPAC main search

2025-05-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39216

--- Comment #2 from Owen Leonard  ---
(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?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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/


[Koha-bugs] [Bug 39216] Add an item type dropdown filter to the OPAC main search

2025-03-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39216

Sarah Cornell  changed:

   What|Removed |Added

 CC||sbcornell@cityofportsmouth.
   ||com

--- Comment #1 from Sarah Cornell  ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
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/