]> git.koha-community.org Git - koha.git/commit
Bug 17107 - Add ident and Identifier-standard to known indexes
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 11 Aug 2016 08:58:40 +0000 (10:58 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 18 Aug 2016 16:05:15 +0000 (16:05 +0000)
commit4884f3a00a99c959059b7d12544c271a1e1ab616
tree3bec4d1752dce5c39b581c2dcfc0328cc07ace85
parent5ec898b401670c822e159e3ae6f0e0ecb36bc789
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>
C4/Search.pm