[Bug 40798] New: Only show component parts if leader tells us to
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40798 Bug ID: 40798 Summary: Only show component parts if leader tells us to Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching Assignee: koha-bugs@lists.koha-community.org Reporter: magnus@libriotech.no QA Contact: testopia@bugs.koha-community.org Looking at this code from catalogue/detail.pl: # Get component parts details my $showcomp = C4::Context->preference('ShowComponentRecords'); my $show_analytics; if ( $showcomp eq 'both' || $showcomp eq 'staff' ) { if ( my $components = !$invalid_marc_record ? $biblio->get_marc_components( C4::Context->preference('MaxComponentRecords') ) : undef ) { $show_analytics = 1 if @{$components}; # just show link when having results https://git.koha-community.org/Koha-community/Koha/src/branch/main/catalogue... It looks like we only check if ShowComponentRecords is enabled before we show component parts. But should we not check the leader to see if this is a record that should have components in the first place? These pages from the wiki seem to indicate that the leader plays a role in determining this: https://wiki.koha-community.org/wiki/Serial_Analytics https://wiki.koha-community.org/wiki/Sets_with_Volumes I moght be missing something here, please correct me if I'm wrong! :-) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40798 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think a lot of different records can have components, so not sure if we can further limit it. Serials and monographs could have components, analytical recors might not have components themselves... but I am not sure if that is actually not a thing, you could probably catalog it. You cannot tell from the MARC if a record actually has components, so might as well check. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40798 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |INVALID --- Comment #2 from Magnus Enger <magnus@libriotech.no> --- For a moment I thougt a monograph would never have parts, but then there are chapters, og course... Closing this. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org