MKWS makes requests to Service Proxy or Pazpar2 that perform the actual
searching. Depending on how these are configured and what is available from the
targets you are searching there may be more data available than what is
-presented by the default templates. In this case, you can redefine the
-`Record` template to include more fields in the full-record popup.
+presented by the default templates.
Handlebars offers a convenient log helper that will output the contents of a
variable for you to inspect. This lets you look at exactly what is being
{{!
Records presented as images.
+The non-metadata keys enable an optional link to display an AJAX popup that
+fetches additional record detail.
+
hits:
- containerClass - class attribute for same
+ containerClass - partial class attribute for element containing a record
detailLinkId - id for the element triggering detail display
detailClick - a click event handler for details
renderedDetails - active record details rendered from the Record template
Ranking -- widget to select sort ordering and number of records to display
team - team for this widget
-showSort
-showPerPage
+showSort - set if sort control is to be displayed
+showPerPage - set if per-page control is to be displayed
sort
key - machine readable value for this sort option
label - text to display for this sort option
{{!
Full record display.
+
+Top level object is metadata from Service Proxy / Pazpar2
}}
<table>
<tr>
{{!
Records from a search.
+The non-metadata keys enable an optional link to display an AJAX popup that
+fetches additional record detail.
+
hits:
- containerClass - class attribute for same
+ containerClass - partial class attribute for element containing a record
detailLinkId - id for the element triggering detail display
detailClick - a click event handler for details
renderedDetails - active record details rendered from the Record template