sul-dlss / vt-arclight

An Arclight-based discovery application for materials from the Virtual Tribunals project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Date facet not showing up on Search page

laurensorensen opened this issue · comments

Example search page (after having entered the search from main page, clicked eyeglass icon. This page shows up with facets on the side, but no date facet is presented. https://virtualtribunals-stage.stanford.edu/nuremberg?search_field=all_fields&q=1936-1940

Screen Shot 2022-12-05 at 4 18 46 PM

This is the expected behavior because the two documents in the result set do not have any values in the date facet (date_hierarchy_ssim).

There is no <unitdate> in the EAD for that document:

            <did>
              <unittitle>U.S. Document Book M: 1933 - 1936 Preparation for Aggression</unittitle>
              <unitid>H-1120</unitid>
              <physdesc altrender="whole">
                <extent altrender="materialtype spaceoccupied">1 item(s)</extent>
                <extent altrender="carrier">191 pages</extent>
                <physfacet>Folders</physfacet>
              </physdesc>
              <container id="aspace_e1e776c6b5e24bba082e9ff2883fe5de" label="Text" type="box">9</container>
              <dao xlink:actuate="onRequest" xlink:audience="external" xlink:href="https://purl.stanford.edu/pp746wt1981" xlink:show="new" xlink:title="U.S. Document Book M: 1933 - 1936 Preparation for Aggression" xlink:type="simple">
                <daodesc>
                  <p>U.S. Document Book M: 1933 - 1936 Preparation for Aggression</p>
                </daodesc>
              </dao>
            </did>

Closing per @jcoyne's comment above