{name => 'summaryplus', label => l('Summaries & More'), hide => hide_summary},
{name => 'content', label => l('Contents'), hide => 1}, # ToC
{name => 'authors', label => l('Authors')},
- {name => 'series', label => l('Series'), hide => 1},
+ {name => 'series', label => l('Series')},
{name => 'subjects', label => l('Subject')},
{name => 'annotation', label => l('Annotation'), hide => 1},
{name => 'awards', label => l('Awards, Reviews, & Suggested Reads')},
--- /dev/null
+[%
+ series_tags = ['440', '490', '800', '810', '811', '830', '694'];
+ loc = CGI.param('loc');
+%]
+
+<div id='rdetail_series_div'>
+ <table cellpadding="0" cellspacing="0" border="0">
+ [% FOR tag IN series_tags; %]
+ <tr><td style='padding-top:5px;'>
+ [% FOR node IN ctx.marc_xml.findnodes('//*[@tag="' _ tag _ '"]/*') %]
+ [% IF !loop.first %]<span>—</span> [% END %]
+ <a href="[% ctx.opac_root %]/results?qtype=series&query=[% node.textContent | uri %]&loc=[% loc %]">[% node.textContent | html %]</a>
+ [% END %]
+ [% END; %]
+ </table>
+</div>