Bug 17107

Summary: Add ident and Identifier-standard to known indexes
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: SearchingAssignee: Fridolin Somers <fridolin.somers>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: christophe.brocquet, f.demians, julian.maurice, kyle
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 17107 - Add ident and Identifier-standard to known indexes
Bug 17107 - Add ident and Identifier-standard to known indexes
Bug 17107 - Add ident and Identifier-standard to known indexes

Description Fridolin Somers 2016-08-11 09:47:03 UTC
Add ident and Identifier-standard to known indexes in C4::Search::getIndexes().

Those indexes can be very useful, for example for IdRef feature.
Comment 1 Fridolin Somers 2016-08-11 09:53:00 UTC Comment hidden (obsolete)
Comment 2 Fridolin Somers 2016-08-11 10:00:41 UTC Comment hidden (obsolete)
Comment 3 Christophe Brocquet 2016-08-11 20:24:02 UTC
It works as described
Comment 4 Jonathan Druart 2016-08-12 13:01:35 UTC
Created attachment 54375 [details] [review]
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>
Comment 5 Kyle M Hall (khall) 2016-08-18 16:06:07 UTC
Pushed to master for 16.11, thanks Frido!
Comment 6 Frédéric Demians 2016-08-23 10:41:34 UTC
Pushed in 16.05. Will be in 16.05.03.
Comment 7 Julian Maurice 2016-08-24 10:45:21 UTC
Pushed to 3.22.x, will be in 3.22.10