Bug 11844: Fix QA issues (POD, TT filters, file exec flag)

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Julian Maurice 2023-01-20 17:29:40 +01:00 committed by Jonathan Druart
parent 7be92fb26e
commit 108cebeea1
4 changed files with 27 additions and 1 deletions

View file

@ -13,6 +13,17 @@ use base qw(Koha::Object);
use C4::Context;
use Koha::MarcSubfieldStructures;
=head1 METHODS
=head2 effective_authorised_value_category
Returns the authorised value category of the additional field or the authorised
value category of the MARC field, if any.
my $av_category = $additional_field->effective_authorised_value_category;
=cut
sub effective_authorised_value_category {
my ($self) = @_;

View file

@ -22,6 +22,21 @@ use base qw( Template::Plugin );
use C4::Context;
use Koha::ClassSources;
=head1 NAME
Koha::Template::Plugin::ClassSources - Template::Toolkit plugin for Koha Classification Source Object
=head1 METHODS
=head2 all
Return the list of class sources
[% class_sources = ClassSources.all() %]
[% class_sources = ClassSources.all({ selected => $selected }) %]
=cut
sub all {
my ($self, $params) = @_;

0
installer/data/mysql/atomicupdate/bug-11844.pl Normal file → Executable file
View file

View file

@ -61,7 +61,7 @@
[% IF field.marcfield && field.marcfield_mode == 'get' %]
This value will be filled with the [% field.marcfield | html %] subfield of the selected biblio.
[% ELSIF field.marcfield && field.marcfield_mode == 'set' %]
This value will be saved to the [% field.marcfield %] subfield of the selected biblio.
This value will be saved to the [% field.marcfield | html %] subfield of the selected biblio.
[% END %]
</li>
[% END %]