Bugzilla – Attachment 15758 Details for
Bug 9727
Typo in code causes compilation failure with Solr enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9727: Fix typo in variable name
Bug-9727-Fix-typo-in-variable-name.patch (text/plain), 1.41 KB, created by
Jonathan Druart
on 2013-02-28 10:46:19 UTC
(
hide
)
Description:
Bug 9727: Fix typo in variable name
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-02-28 10:46:19 UTC
Size:
1.41 KB
patch
obsolete
>From 2de3b1e91bc1c652fa2a17f266d789a259119d32 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Wed, 27 Feb 2013 17:52:02 +0000 >Subject: [PATCH] Bug 9727: Fix typo in variable name > >Variable is passed as recordtype not record_type >correct name > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >before applying the patch >$ perl -wc Koha/SearchEngine/Solr/Index.pm >Global symbol "$record_type" requires explicit package name at Koha/SearchEngine/Solr/Index.pm line 43. >Koha/SearchEngine/Solr/Index.pm had compilation errors. > >after >Koha/SearchEngine/Solr/Index.pm syntax OK >--- > Koha/SearchEngine/Solr/Index.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/SearchEngine/Solr/Index.pm b/Koha/SearchEngine/Solr/Index.pm >index 6fa3242..e526f1e 100644 >--- a/Koha/SearchEngine/Solr/Index.pm >+++ b/Koha/SearchEngine/Solr/Index.pm >@@ -40,7 +40,7 @@ sub index_record { > $record = GetAuthority( $id ) if $recordtype eq "authority"; > $record = GetMarcBiblio( $id ) if $recordtype eq "biblio"; > >- if ($record_type eq 'biblio' && C4::Context->preference('IncludeSeeFromInSearches')) { >+ if ($recordtype eq 'biblio' && C4::Context->preference('IncludeSeeFromInSearches')) { > my $normalizer = Koha::RecordProcessor->new( { filters => 'EmbedSeeFromHeadings' } ); > $record = $normalizer->process($record); > } >-- >1.7.10.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 9727
:
15757
|
15758
|
16254
|
16325
|
16326