Bug 29170

Summary: MARC21 Field 100$t is not display in the results page and record detail page
Product: Koha Reporter: Marion Durand <marion.durand>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: m.de.rooy
Version: 21.05   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marion Durand 2021-10-05 09:26:13 UTC
In koha MARC21, the field 100$t is not displayed in the results page (neither in the detailed record page). 

In the code that display 700$t for the results page I found this:
(file: ./koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl)
    <!-- Display title portion for 100 and 700 fields -->
    <xsl:if test="@tag=700 and marc:subfield[@code='t']">
        ...

The comment clearly states that the next portion of code should display title for 700 and 100 fields (field 100$c which is displayed earlier, or field 100$t) but the code actually only display title for 700 field. (Field 700$t is correctly displayed.)

Should we add the code to display field 100$t or should we change the comment so it's more accurate with what the code do ?

To test:
1- Be sure to use koha MARC21
2- Find or create a record that have a field 100$t
3- Search the catalog for this record (be sure to hav at least two results)
4- See that field 100$t is not displayed
5- Click on your record to go to the detail page
6- See that field 100$t is not displayed