https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43969 Bug ID: 43969 Summary: Remove unused item count and call number code from marc21_linking_section.pl Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: adolfo.rodriguez@xercode.es QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Target Milestone: --- In cataloguing/value_builder/marc21_linking_section.pl, the do_search operation computes two extra values for each search result: - totitem, the number of items. It checks $rechash->{itembumber} (a typo for itemnumber), so the count is always 0. - CN, a list of "holding library ( call number )" pairs. Neither value is used: marc21_linking_section.tt only shows the title, author, publisher, place, pages and notes of each result. The template has never displayed them (the code seems to come from unimarc_field_4XX.pl, whose template does show totitem). Fixing the typo would not change anything visible, so the block can simply be removed. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.