Bugzilla – Attachment 54290 Details for
Bug 17107
Add ident and Identifier-standard to known indexes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17107 - Add ident and Identifier-standard to known indexes
Bug-17107---Add-ident-and-Identifier-standard-to-k.patch (text/plain), 1.26 KB, created by
Fridolin Somers
on 2016-08-11 09:53:00 UTC
(
hide
)
Description:
Bug 17107 - Add ident and Identifier-standard to known indexes
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2016-08-11 09:53:00 UTC
Size:
1.26 KB
patch
obsolete
>From 74b6d689e1ff0d8907afb07ad48d792f3a255bb3 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >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' >--- > C4/Search.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 88dbc80..a04514a 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1137,6 +1137,8 @@ sub getIndexes{ > 'Host-item', > 'id-other', > 'Illustration-code', >+ 'ident', >+ 'Identifier-standard', > 'Index-term-genre', > 'Index-term-uncontrolled', > 'Interest-age-level', >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17107
:
54290
|
54292
|
54375