scientist-softserv / oral-history

UCLA LIBRARY-CENTER FOR ORAL HISTORY RESEARCH --Documenting the histories of Los Angeles-- The UCLA Library creates a vibrant nexus of ideas, collections, expertise, and spaces in which users illuminate solutions for local and global challenges. We constantly evolve to advance UCLA’s research, education, and public service mission by empowering and
https://oralhistory.library.ucla.edu/
0 stars 0 forks source link

Spike: "Has Media" facet shows incorrect count #51

Open jillpe opened 7 months ago

jillpe commented 7 months ago

Summary

UCLA wants to know why this is happening, and what the options for fixing are

Acceptance Criteria

aprilrieger commented 7 months ago

The current application logic targets these main values in order to display under has media:

child.name == "relatedItem" && child.attributes['type'] == "constituent" && child.attributes['href'].present?

An Example of a record with this occurence:

 <record>
      <header>
        <identifier>21198/zz0008zmwb</identifier>
        <datestamp>2008-01-31</datestamp>
      </header>
      <metadata>
        <mods:mods xmlns:mods="http://www.loc.gov/mods/v3" xmlns:xlink="http://www.w3.org/1999/xlink">
          <mods:titleInfo>
            <mods:title>Interview of Buddy Collette</mods:title>
          </mods:titleInfo>
          <mods:titleInfo type="alternative">
            <mods:title>Central Avenue Sounds: Buddy Collette</mods:title>
          </mods:titleInfo>
          <mods:note type="place" displayLabel="Place Conducted">Collette's home in Los Angeles, California.</mods:note>
          <mods:note type="biographical" displayLabel="Biographical Information">Jazz flute, saxophone, and clarinet player. Advocate for the amalgamation of the black musicians&#x2019; local union, Local 767 and white musicians&#x2019; union, Local 47.</mods:note>
          <mods:note type="personpresent" displayLabel="Persons Present">Collette and Isoardi.</mods:note>
          <mods:note type="processinterview" displayLabel="Processing of Interview">Alex Cline, editor, edited the interview. He checked the verbatim transcript of the interview against the original tape recordings, edited for punctuation, paragraphing, and spelling, and verified proper names. Whenever possible, Cline checked the proper names of nightclubs against articles and advertisements in back issues of the California Eagle. Words and phrases inserted by the editor have been bracketed.Collette reviewed the transcript. He verified proper names and made minor corrections and additions.Teresa Barnett, senior editor, prepared the table of contents. David P. Gist, editor, prepared the biographical summary and interview history. Vimala Jayanti, editor, compiled the index.</mods:note>
          <mods:note type="supportingdocuments" displayLabel="Supporting Documents">Records relating to the interview are located in the office of the UCLA Library's Center for Oral History Research.</mods:note>
          <mods:note type="interviewerhistory" displayLabel="Interviewer Background and Preparation">The interview was conducted by Steven L. Isoardi, UCLA Oral History Program; B.A., Government, University of San Francisco; M.A., Government, University of San Francisco; M.A., Political Science, UCLA; Ph.D., Political Science, UCLA.Isoardi prepared for the interviews by consulting jazz histories, autobiographies, oral histories, relevant jazz periodicals, documentary films, and back issues of the California Eagle and the Los Angeles Sentinel.</mods:note>
          <mods:physicalDescription>
            <mods:extent>17 hrs.</mods:extent>
          </mods:physicalDescription>
          <mods:identifier>21198/zz0008zmwb</mods:identifier>
          <mods:identifier type="local">402</mods:identifier>
          <mods:identifier type="OPAC">964486</mods:identifier>
          <mods:language>
            <mods:languageTerm>eng</mods:languageTerm>
          </mods:language>
          <mods:name>
            <mods:namePart>Isoardi, Steven L.</mods:namePart>
            <mods:role>
              <mods:roleTerm type="text">interviewer</mods:roleTerm>
            </mods:role>
          </mods:name>
          <mods:name>
            <mods:namePart>Collette, Buddy</mods:namePart>
            <mods:role>
              <mods:roleTerm type="text">interviewee</mods:roleTerm>
            </mods:role>
          </mods:name>
          <mods:relatedItem>
            <mods:titleInfo>
              <mods:title>http://content.cdlib.org/ark:/13030/hb6g5010zj/&#xA0;</mods:title>
            </mods:titleInfo>
          </mods:relatedItem>
          <mods:relatedItem xlink:href="https://wowza.library.ucla.edu/dlp/definst/mp3:oralhistory/21198-zz000bk443-3-submaster.mp3/playlist.m3u8" type="constituent">
            <mods:titleInfo>
              <mods:title>TAPE NUMBER: V, Side One (September 28, 1989)</mods:title>
            </mods:titleInfo>
            <mods:identifier>21198/zz000bk443</mods:identifier>
            <mods:part order="9" type="session_audio"/>
            <mods:tableOfContents>Marries and studies to be a musician on the G.I. Bill--Meets Bill Green and his friends--Benny Carter and his band--Begins studying flute--Forms the Community Symphony Orchestra.</mods:tableOfContents>
          </mods:relatedItem>
          <mods:relatedItem xlink:href="https://wowza.library.ucla.edu/dlp/definst/mp3:oralhistory/21198-zz000bk45m-2-submaster.mp3/playlist.m3u8" type="constituent">
            <mods:titleInfo>
              <mods:title>TAPE NUMBER: V, Side Two (September 28, 1989)</mods:title>
            </mods:titleInfo>
            <mods:identifier>21198/zz000bk45m</mods:identifier>
            <mods:part order="10" type="session_audio"/>
            <mods:tableOfContents>More on the Community Orchestra--Josephine Baker-Amalgamation of black and white locals of the American Federation of musicians--Plays a flute solo in the Community Symphony Orchestra--Jerry Fielding signs him on as a band member on "You Bet Your Life"--Being refused service in restaurants.</mods:tableOfContents>
          </mods:relatedItem>
          <mods:relatedItem xlink:href="https://wowza.library.ucla.edu/dlp/definst/mp3:oralhistory/21198-zz000bk485-2-submaster.mp3/playlist.m3u8" type="constituent">
            <mods:titleInfo>
              <mods:title>TAPE NUMBER: VII, Side One (October 12, 1989)</mods:title>
            </mods:titleInfo>
            <mods:identifier>21198/zz000bk485</mods:identifier>
            <mods:part order="13" type="session_audio"/>
            <mods:tableOfContents>Collette's music schools and teachers--Playing at the Crystal Tea Room--Young players in the forties--More on Benny Carter--Collette's sound--Experiences discrimination in the South--Importance of teamwork in a band--Eric Dolphy--More on Merle Johnston.</mods:tableOfContents>
          </mods:relatedItem>
          <mods:relatedItem xlink:href="https://wowza.library.ucla.edu/dlp/definst/mp3:oralhistory/21198-zz000bk49p-2-submaster.mp3/playlist.m3u8" type="constituent">
            <mods:titleInfo>
              <mods:title>TAPE NUMBER: VII, Side Two (October 12, 1989)</mods:title>
            </mods:titleInfo>
            <mods:identifier>21198/zz000bk49p</mods:identifier>
            <mods:part order="14" type="session_audio"/>
            <mods:tableOfContents>More on Eric Dolphy--Frank Morgan--Joseph Schillinger's rhythmic system--Sonny Criss--Dexter Gordon.</mods:tableOfContents>
          </mods:relatedItem>
          <mods:relatedItem xlink:href="https://wowza.library.ucla.edu/dlp/definst/mp3:oralhistory/21198-zz000bk4b6-2-submaster.mp3/playlist.m3u8" type="constituent">
            <mods:titleInfo>
              <mods:title>TAPE NUMBER: VIII, Side One (October 19, 1989)</mods:title>
            </mods:titleInfo>
            <mods:identifier>21198/zz000bk4b6</mods:identifier>
            <mods:part order="15" type="session_audio"/>
            <mods:tableOfContents>Recording opportunities in Los Angeles in the forties and early fifties--Meets Nelson Riddle--Frank Sinatra--Marital difficulties--More on amalgamation of the two locals in the American Federation of Musicians.</mods:tableOfContents>
          </mods:relatedItem>
          <mods:relatedItem xlink:href="https://wowza.library.ucla.edu/dlp/definst/mp3:oralhistory/21198-zz000bk4cq-2-submaster.mp3/playlist.m3u8" type="constituent">
            <mods:titleInfo>
              <mods:title>TAPE NUMBER: VIII, Side Two (October 19, 1989)</mods:title>
            </mods:titleInfo>
            <mods:identifier>21198/zz000bk4cq</mods:identifier>
            <mods:part order="16" type="session_audio"/>
            <mods:tableOfContents>More on the amalgamation--Working with women in the union--Current conditions for African-Americans in the union and the music industry--Plays for the American Civil Liberties Union (ACLU)--Jerry Fielding blacklisted from the music industry.</mods:tableOfContents>
          </mods:relatedItem>
          <mods:relatedItem type="series">
            <mods:titleInfo>
              <mods:title>Central Avenue Sounds Oral History Project</mods:title>
            </mods:titleInfo>
            <mods:identifier>21198/zz000905zz</mods:identifier>
            <mods:abstract>Interviews in this series preserve the spoken memories of individuals, mainly musicians, who were raised near and/or performed on Los Angeles's Central Avenue from the late 1920s to the mid-1950s.</mods:abstract>
          </mods:relatedItem>
          <mods:accessCondition>Regents of the University of California, UCLA Library.</mods:accessCondition>
          <mods:subject authority="cohr">
            <mods:topic>African American History</mods:topic>
          </mods:subject>
          <mods:subject authority="cohr">
            <mods:topic>Music</mods:topic>
          </mods:subject>
          <mods:location displayLabel="Interviewee Biography">
            <mods:url>https://static.library.ucla.edu/oralhistory/text/submasters/21198-zz0008zmwb-7-submaster.xml</mods:url>
          </mods:location>
          <mods:location displayLabel="Interview History">
            <mods:url>https://static.library.ucla.edu/oralhistory/text/submasters/21198-zz0008zmwb-8-submaster.xml</mods:url>
          </mods:location>
          <mods:location displayLabel="Interview Full Transcript (Printable Version)">
            <mods:url>https://static.library.ucla.edu/oralhistory/text/submasters/21198-zz0008zmwb-9-submaster.html</mods:url>
          </mods:location>
          <mods:location displayLabel="Interview Full Transcript (TEI/P5 XML)">
            <mods:url usage="timed log">https://static.library.ucla.edu/oralhistory/text/submasters/21198-zz0008zmwb-10-submaster.xml</mods:url>
          </mods:location>
          <mods:location displayLabel="Interview Full Transcript (PDF)">
            <mods:url>https://static.library.ucla.edu/oralhistory/pdf/submasters/21198-zz0008zmwb-11-submaster.pdf</mods:url>
          </mods:location>
        </mods:mods>
      </metadata>
    </record>