Bugzilla – Attachment 2087 Details for
Bug 4421
Should be possible to display location for bibs w/o items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch (2/2) showing desired behavior
0002-Show-complete-call-numbers.patch (text/plain), 1.42 KB, created by
Chris Cormack
on 2010-04-28 17:24:00 UTC
(
hide
)
Description:
Patch (2/2) showing desired behavior
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2010-04-28 17:24:00 UTC
Size:
1.42 KB
patch
obsolete
>From 65b72b917c8d25a7d478da0dd7ef506be89f36a0 Mon Sep 17 00:00:00 2001 >From: Jared CAMINS-ESAKOV <camins@numismatics.org> >Date: Thu, 22 Apr 2010 13:39:21 -0400 >Subject: [PATCH] Show complete call numbers >Content-Type: text/plain; charset="utf-8" > >Show complete call numbers on the OPAC Details display for records which do not have items. >--- > opac/opac-detail.pl | 13 +++++++++++++ > 1 files changed, 13 insertions(+), 0 deletions(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 9cb2037..4d40771 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -224,6 +224,19 @@ for my $field852 (@field852s) { > my @subfieldc = $field852->subfield('c'); > $noitemloc{'noitemloc'} .= ' (' . join('/', @subfieldc) . ')'; > } >+ if ($field852->subfield('j')) { >+ my @subfieldj = $field852->subfield('j'); >+ $noitemloc{'noitemloc'} .= ': ' . join(',', @subfieldj); >+ } elsif ($field852->subfield('i')) { >+ my @subfieldi = $field852->subfield('i'); >+ $noitemloc{'noitemloc'} .= ': ' . join(',', @subfieldi); >+ } elsif ($field852->subfield('p')) { >+ my @subfieldp = $field852->subfield('p'); >+ $noitemloc{'noitemloc'} .= ': ' . join(',', @subfieldp); >+ } elsif ($field852->subfield('l')) { >+ my @subfieldl = $field852->subfield('l'); >+ $noitemloc{'noitemloc'} .= ': ' . join(',', @subfieldl); >+ } > push(@noitemlocations, \%noitemloc); > } > >-- >1.7.0.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 4421
:
2086
|
2087
|
3468