5 pub_brief.mas - show a table of publications
11 arrayref of BCS publication rows to render
22 <&| /page/info_section.mas,
23 title => 'Publications',
26 % if( @pub_objects ) {
27 <% columnar_table_html(
28 headings => [ 'Year', 'Title', 'Series' ],
33 my $id = $pub->pub_id;
35 [ encode_entities($pub->pyear),
36 qq|<a href="/publication/$id/view">|.encode_entities($pub->title).'</a>',
37 encode_entities( $pub->series_name ),
47 use CXGN::Page::FormattingHelpers qw/ columnar_table_html /;
51 # $pub_list is an arrayref of pub IDs. inflate them to objects.
53 $schema->resultset('Pub::Pub')
55 { pub_id => $pub_list },
56 { order_by => [ 'pyear DESC', 'title' ] },