View | Details | Raw Unified | Return to bug 7991
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (-2 / +4 lines)
Lines 685-692 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
685
    <table id="serialcollectiont">
685
    <table id="serialcollectiont">
686
	<thead>
686
	<thead>
687
	    <tr>
687
	    <tr>
688
		<th id="serial_library">Library</th>
688
            <th id="serial_library">Library</th>
689
		<th id="seral_collection">Serial collection</th>
689
            <th id="serial_collection">Serial collection</th>
690
            <th id="serial_itemcallnumber">Item callnumber</th>
690
	    </tr>
691
	    </tr>
691
	</thead>
692
	</thead>
692
	<tbody>
693
	<tbody>
Lines 694-699 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
694
	    <tr>
695
	    <tr>
695
		<td>[% serialcollection.branch %]</td>
696
		<td>[% serialcollection.branch %]</td>
696
		<td>[% serialcollection.text %]</td>
697
		<td>[% serialcollection.text %]</td>
698
        <td>[% serialcollection.itemcallnumber %]</td>
697
	    </tr>
699
	    </tr>
698
	[% END %]
700
	[% END %]
699
	</tbody>
701
	</tbody>
(-)a/opac/opac-detail.pl (-2 / +6 lines)
Lines 693-698 if (C4::Context->preference("OPACFRBRizeEditions")==1) { Link Here
693
693
694
# Serial Collection
694
# Serial Collection
695
my @sc_fields = $record->field(955);
695
my @sc_fields = $record->field(955);
696
my @lc_fields = $record->field(930);
696
my @serialcollections = ();
697
my @serialcollections = ();
697
698
698
foreach my $sc_field (@sc_fields) {
699
foreach my $sc_field (@sc_fields) {
Lines 700-708 foreach my $sc_field (@sc_fields) { Link Here
700
701
701
    $row_data{text}    = $sc_field->subfield('r');
702
    $row_data{text}    = $sc_field->subfield('r');
702
    $row_data{branch}  = $sc_field->subfield('9');
703
    $row_data{branch}  = $sc_field->subfield('9');
704
    foreach my $lc_field (@lc_fields) {
705
        $row_data{itemcallnumber} = $lc_field->subfield('a')
706
            if ($sc_field->subfield('5') eq $lc_field->subfield('5'));
707
    }
703
708
704
    if ($row_data{text} && $row_data{branch}) { 
709
    if ($row_data{text} && $row_data{branch}) { 
705
	push (@serialcollections, \%row_data);
710
        push (@serialcollections, \%row_data);
706
    }
711
    }
707
}
712
}
708
713
709
- 

Return to bug 7991