Summary: | Add ident and Identifier-standard to known indexes | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Searching | Assignee: | 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
Created attachment 54290 [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' Created attachment 54292 [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' It works as described 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> Pushed to master for 16.11, thanks Frido! Pushed in 16.05. Will be in 16.05.03. Pushed to 3.22.x, will be in 3.22.10 |