Bugzilla – Attachment 7035 Details for
Bug 6829
Remove two warnings for opac-MARCdetail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 6829 Follow up patch
SIGNED-OFF-Bug-6829-Follow-up-patch.patch (text/plain), 1.42 KB, created by
Katrin Fischer
on 2012-01-04 06:49:21 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 6829 Follow up patch
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-01-04 06:49:21 UTC
Size:
1.42 KB
patch
obsolete
>From a03a90c2bca1b4736442a4e9ba8f7c08ecf4effd Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Tue, 27 Dec 2011 11:01:48 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 6829 Follow up patch > >To reproduce the bug: > >- Open OPAC MARC View for a specific biblio record >- Fields which are affected to tab 0 are all hidden > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Patch fixes bug for 0xx fields in OPAC MARC view. >Note: the problem only exists for 0xx fields with real subfields, >control fields display correctly, fields like 040 only display >after patch was applied. >--- > opac/opac-MARCdetail.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl >index ffa0a6d..272ac0c 100755 >--- a/opac/opac-MARCdetail.pl >+++ b/opac/opac-MARCdetail.pl >@@ -142,7 +142,7 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { > for my $i ( 0 .. $#subf ) { > $subf[$i][0] = "@" unless $subf[$i][0]; > my $sf_def = $tagslib->{ $fields[$x_i]->tag() }->{ $subf[$i][0] }; >- next if ( ($sf_def->{tab}||'') ne $tabloop ); >+ next if ( ($sf_def->{tab}||0) != $tabloop ); > next if ( ($sf_def->{hidden}||0) > 0 ); > my %subfield_data; > $subfield_data{marc_lib} = ($sf_def->{lib} eq $previous) ? '--' : $sf_def->{lib}; >-- >1.7.5.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 6829
:
5253
|
5254
|
5255
|
5256
|
5257
|
6931
| 7035 |
7051