]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 24 Aug 2016 10:45:13 +0000 (12:45 +0200)
commit7f60575e98ce23e1b5b9fcffc983bd6cac282823
tree820e2da459034baefada604e61b0aafe3ab3bf5a
parent0de09d5ae77885a822b244efb15c5de45cbc8283
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>
(cherry picked from commit 7547ffcc96a43fb4228896a431344155c72bc910)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Search.pm