Bug 41685: (QA follow-up) Add POD for _marc21_sort_hierarchy_alpha

- koha-qa pod_coverage check flagged the new private helper
- sub as uncovered. Document it briefly to satisfy the check.

Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Paul Derscheid 2026-04-24 09:44:47 +02:00 committed by Pedro Amorim
parent 21f957d868
commit 7ce0fef1bd
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 9 additions and 0 deletions

View File

@ -1277,6 +1277,15 @@ sub BuildSummary {
return \%summary;
}
=head2 _marc21_sort_hierarchy_alpha
my @sorted = _marc21_sort_hierarchy_alpha(@fields);
sorts 4xx/5xx fields by hierarchy using subfield $w (g=broader, h=narrower,
anything else between), then alphabetically by subfield $a.
=cut
sub _marc21_sort_hierarchy_alpha {
my @fields = @_;
return (