]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 23 Aug 2016 10:48:28 +0000 (12:48 +0200)
commit7547ffcc96a43fb4228896a431344155c72bc910
tree4cb09921f7fee69172a927cf764a8073e2fbd8c6
parent6551bebd939aefb3a4e6c59d3bee83c311cd842d
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>
(cherry picked from commit 4884f3a00a99c959059b7d12544c271a1e1ab616)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/Search.pm