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

(-)a/C4/Items.pm (-1 / +3 lines)
Lines 1525-1534 sub _find_value { Link Here
1525
1525
1526
=head2 PrepareItemrecordDisplay
1526
=head2 PrepareItemrecordDisplay
1527
1527
1528
  PrepareItemrecordDisplay($itemrecord,$bibnum,$itemumber,$frameworkcode);
1528
  PrepareItemrecordDisplay($bibnum,$itemumber,$defaultvalues,$frameworkcode);
1529
1529
1530
Returns a hash with all the fields for Display a given item data in a template
1530
Returns a hash with all the fields for Display a given item data in a template
1531
1531
1532
$defaultvalues should either contain a hashref of values for the new item, or be undefined.
1533
1532
The $frameworkcode returns the item for the given frameworkcode, ONLY if bibnum is not provided
1534
The $frameworkcode returns the item for the given frameworkcode, ONLY if bibnum is not provided
1533
1535
1534
=cut
1536
=cut
(-)a/acqui/addorderiso2709.pl (-3 / +2 lines)
Lines 108-118 if ($op eq ""){ Link Here
108
    import_biblios_list($template, $cgiparams->{'import_batch_id'});
108
    import_biblios_list($template, $cgiparams->{'import_batch_id'});
109
    if ( $basket->effective_create_items eq 'ordering' && !$basket->is_standing ) {
109
    if ( $basket->effective_create_items eq 'ordering' && !$basket->is_standing ) {
110
        # prepare empty item form
110
        # prepare empty item form
111
        my $cell = PrepareItemrecordDisplay( '', '', '', 'ACQ' );
111
        my $cell = PrepareItemrecordDisplay( '', '', undef, 'ACQ' );
112
112
113
        #     warn "==> ".Data::Dumper::Dumper($cell);
113
        #     warn "==> ".Data::Dumper::Dumper($cell);
114
        unless ($cell) {
114
        unless ($cell) {
115
            $cell = PrepareItemrecordDisplay( '', '', '', '' );
115
            $cell = PrepareItemrecordDisplay( '', '', undef, '' );
116
            $template->param( 'NoACQframework' => 1 );
116
            $template->param( 'NoACQframework' => 1 );
117
        }
117
        }
118
        my @itemloop;
118
        my @itemloop;
119
- 

Return to bug 29243