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 |
- |
|
|