]> git.koha-community.org Git - koha.git/commit
Bug 9968: Fix wrong index for Standard number in advanced and label search
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 16 May 2018 01:05:07 +0000 (01:05 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 9 Oct 2018 11:04:24 +0000 (11:04 +0000)
commit09a7d37d53a87e35f2151e00200995ab3dfa3896
tree6201db0dcdbe39828988f3d273980120164064fe
parentd83d5ec5a4edfc4927a5f8e5ca3d1cde2942f5fe
Bug 9968: Fix wrong index for Standard number in advanced and label search

'Standard number' indicates that you can search ISBN, ISSN and other
standard numbers, but we are using the wrong index and only get a
very limited search for biblionumber instead.

This patch changes the index from sn to ident.

To test:
- Check both staff and OPAC advanced search:
  - Search for Standard number = ISBN
  - Search for Standard number = ISSN
  Both should work.
  Toggle [Intranet|OPAC]NumbersPreferPhrase system preferences
- Check the label creator
  - Add a new batch
  - Use 'add items' option and search for Standard number

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc
koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt