Bug 31286: (QA follow-up): tidy up code

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Victor Grousset 2024-02-08 04:56:47 +01:00 committed by Katrin Fischer
parent fd70ee6a94
commit 2172c37837
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -116,12 +116,12 @@ sub _get_authority_for_export {
}
sub _get_biblio_for_export {
my ($params) = @_;
my $biblionumber = $params->{biblionumber};
my $itemnumbers = $params->{itemnumbers};
my $export_items = $params->{export_items} // 1;
my ($params) = @_;
my $biblionumber = $params->{biblionumber};
my $itemnumbers = $params->{itemnumbers};
my $export_items = $params->{export_items} // 1;
my $only_export_items_for_branches = $params->{only_export_items_for_branches};
my $embed_see_from_headings = $params->{embed_see_from_headings};
my $embed_see_from_headings = $params->{embed_see_from_headings};
my $biblio = Koha::Biblios->find($biblionumber);
my $record = eval { $biblio->metadata->record };