# Options are "small", "medium", and "large"
record.summary.jacket_size = 'medium';
+##############################################################################
+# Option for full details as a default, esp. impt. for e-content
+# that uses resolver plumbing. Valid values are 'true', 'false' and 'hide'.
+# Setting this to 'true' shows full details by default but allows the link
+# to appear for 'Show Fewer Details'. The 'hide' option shows full details
+# and also suppresses the link from displaying at all.
+show_more_details.default = 'false';
##############################################################################
# Define the order in which facets are displayed. Only facets listed here
[% FOR rec IN ctx.records;
attrs = {marc_xml => rec.marc_xml};
PROCESS get_marc_attrs args=attrs;
- IF CGI.param('detail_record_view');
+ IF CGI.param('detail_record_view')
+ OR (show_more_details.default == 'true'
+ OR show_more_details.default == 'hide');
attrs.title = attrs.title_extended;
END;
# note: rec.id refers to the record identifier, regardless
</tr>
[% END %]
- [% IF CGI.param('detail_record_view') %]
+ [%- IF CGI.param('detail_record_view')
+ OR (show_more_details.default == 'true'
+ OR show_more_details.default == 'hide');
+ -%]
<!-- These fields are visible when viewing the results page in 'detailed' mode -->
[% IF attrs.publisher %]