]> git.koha-community.org Git - koha.git/commit
Bug 36651: Add placeholder text to the search bar in the OPAC
authorOwen Leonard <oleonard@myacpl.org>
Tue, 30 Apr 2024 17:56:13 +0000 (17:56 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 21 Jun 2024 13:02:58 +0000 (15:02 +0200)
commitc650d28f74effb4050c63ab118304ff1fc473d77
tree97d9dfda110d9f7222e599245a0b1f1ee497c62e
parenta53b701c7e95aa2f94331677dc466f7df857993c
Bug 36651: Add placeholder text to the search bar in the OPAC

This patch adds placeholder text to the OPAC search bar, with JavaScript
to change the placeholder based on the user's search type selection.

To test, apply the patch and go to the OPAC.

- The search bar should by default have the placeholder "Search the
  catalog by keyword"
- Change the search type (Author, Title, etc). The placeholder text
  should change accordingly.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/js/global.js