Bug 42789: Add missing POD for _validate_location_code and _validate_collection_code

These private subs were added without pod_coverage documentation,
causing a QA failure. Add minimal =head3 blocks to resolve it.

Sponsored-by: OpenFifth <https://openfifth.co.uk/>
Signed-off-by: Sharon Dugdale <sharon.dugdale@cumberland.gov.uk>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Martin Renvoize 2026-06-08 16:55:57 +01:00 committed by Pedro Amorim
parent 6c55a4e7d4
commit 70f5d1d3f1
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 14 additions and 0 deletions

View File

@ -1668,6 +1668,20 @@ Koha::EDI
Returns the bib_record
=head2 _validate_location_code
ok = _validate_location_code($location_code, $quote_message)
Returns 1 if $location_code is empty or matches an authorised value in
category LOC. Returns 0 and records an error on $quote_message otherwise.
=head2 _validate_collection_code
ok = _validate_collection_code($ccode, $quote_message)
Returns 1 if $ccode is empty or matches an authorised value in category
CCODE. Returns 0 and records an error on $quote_message otherwise.
=head1 AUTHOR
Colin Campbell <colin.campbell@ptfs-europe.com>