Bugzilla – Attachment 24603 Details for
Bug 11096
Koha cannot retrieve big records from Zebra
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11096: If zebra_bib_index_mode is not defined, assume it is grs1.
Bug-11096-If-zebrabibindexmode-is-not-defined-assu.patch (text/plain), 1.41 KB, created by
Jonathan Druart
on 2014-01-22 08:35:46 UTC
(
hide
)
Description:
Bug 11096: If zebra_bib_index_mode is not defined, assume it is grs1.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-01-22 08:35:46 UTC
Size:
1.41 KB
patch
obsolete
>From 1f86b853ba831e4926245154132874abede05ed3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 22 Jan 2014 09:31:09 +0100 >Subject: [PATCH] Bug 11096: If zebra_bib_index_mode is not defined, assume it > is grs1. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > C4/Context.pm | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > >diff --git a/C4/Context.pm b/C4/Context.pm >index 746d24b..739b66d 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -734,18 +734,19 @@ sub _new_Zconn { > $server //= "biblioserver"; > $syntax //= "XML"; > >- if ( ($server eq 'biblioserver' and $context->{'config'}->{'zebra_bib_index_mode'} eq 'grs1') >- or ($server eq 'authorityserver' and $context->{'config'}->{'zebra_auth_index_mode'} eq 'grs1')) { >+ if ( ($server eq 'biblioserver' and $context->{'config'}->{'zebra_bib_index_mode'} eq 'dom') >+ and ($server eq 'authorityserver' and $context->{'config'}->{'zebra_auth_index_mode'} eq 'dom')) { >+ >+ $elementSetName = 'marcxml'; >+ $syntax = 'XML'; >+ >+ } else { > > $elementSetName = 'F'; > $syntax = ( $context->preference("marcflavour") eq 'UNIMARC' ) > ? 'unimarc' > : 'usmarc'; > >- } else { >- >- $elementSetName = 'marcxml'; >- $syntax = 'XML'; > } > > my $host = $context->{'listen'}->{$server}->{'content'}; >-- >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 11096
:
22291
|
22292
|
22821
|
22845
|
22846
|
22997
|
23030
|
23033
|
23234
|
23235
|
23236
|
23237
|
23336
|
23337
|
23366
|
24019
|
24020
|
24029
|
24030
|
24031
|
24172
|
24186
|
24187
|
24188
|
24490
|
24491
|
24492
|
24580
|
24602
|
24603
|
24604
|
24605
|
24607
|
24731
|
24732
|
24874
|
24894
|
24895
|
24896
|
24901
|
25282
|
25634
|
25635
|
25636