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

(-)a/C4/Members.pm (-1 / +7 lines)
Lines 598-603 sub IssueSlip { Link Here
598
        my @news;
598
        my @news;
599
        while ( my $n = $news->next ) {
599
        while ( my $n = $news->next ) {
600
            my $all = $n->unblessed_all_relateds;
600
            my $all = $n->unblessed_all_relateds;
601
602
            # FIXME We keep newdate and timestamp for backward compatibility (from GetNewsToDisplay)
603
            # But we should remove them and adjust the existing templates in a db rev
604
            my $published_on_dt = output_pref({ dt => dt_from_string( $all->{pubished_on} ), dateonly => 1 });
605
            $all->{newdate} = $published_on_dt;
606
            $all->{timestamp} = $published_on_dt;
607
601
            push @news, {
608
            push @news, {
602
                opac_news => $all,
609
                opac_news => $all,
603
            };
610
            };
604
- 

Return to bug 22544