Bug 17107 - Add ident and Identifier-standard to known indexes

Add ident and Identifier-standard to known indexes in C4::Search::getIndexes().
Those indexes can be very useful, for example for IdRef feature.

Test plan :
- Make sure some records have a field indexed with Identifier-standard, ISBN=1234 for example
- Perform a search /cgi-bin/koha/opac-search.pl?idx=ident,phr&q=1234
=> you find the record
- Perform a search /cgi-bin/koha/opac-search.pl?q=ident:1234
=> Without patch : you get no results
=> With patch    : you find the record
Idem for 'Identifier-standard'

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Fridolin Somers 2016-08-11 10:58:40 +02:00 committed by Kyle M Hall
parent 5ec898b401
commit 4884f3a00a

View file

@ -1136,6 +1136,8 @@ sub getIndexes{
'Heading-use-subject-added-entry', 'Heading-use-subject-added-entry',
'Host-item', 'Host-item',
'id-other', 'id-other',
'ident',
'Identifier-standard',
'Illustration-code', 'Illustration-code',
'Index-term-genre', 'Index-term-genre',
'Index-term-uncontrolled', 'Index-term-uncontrolled',