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