From 3581ca5072451cbce8949f70086131ba06c52fbc Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 11 Aug 2016 10:58:40 +0200 Subject: [PATCH] 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 --- C4/Search.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Search.pm b/C4/Search.pm index 88dbc80..d9a193c 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1136,6 +1136,8 @@ sub getIndexes{ 'Heading-use-subject-added-entry', 'Host-item', 'id-other', + 'ident', + 'Identifier-standard', 'Illustration-code', 'Index-term-genre', 'Index-term-uncontrolled', -- 2.8.1