]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Oct 2018 11:27:39 +0000 (12:27 +0100)
commitd341326362656853d0f8d371bd7d685b9c4266d7
tree5cc236effcdba050642c8f6eb2aeca7301e99d4a
parentb98336a09d00bcb970173c535c8f51de5dd64ce4
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>
(cherry picked from commit 09a7d37d53a87e35f2151e00200995ab3dfa3896)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.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