Bug 41614: available options template params also needed for op=list
Test plan, before applying patch: 1) Visit additional contents for HTML customizations: <staff_url>/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations 2) Click the left side 'Display location' filter. No options show under OPAC or Staff interface 3) Apply patch, restart plack, refresh. All options should now show (and working filter as expected) under OPAC and Staff interface Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
This commit is contained in:
parent
46f618d3c4
commit
101f292a5a
|
|
@ -229,7 +229,12 @@ if ( $op eq 'list' ) {
|
||||||
{ category => $category, 'additional_contents_localizations.lang' => 'default' },
|
{ category => $category, 'additional_contents_localizations.lang' => 'default' },
|
||||||
{ order_by => { -desc => 'published_on' }, join => 'additional_contents_localizations' }
|
{ order_by => { -desc => 'published_on' }, join => 'additional_contents_localizations' }
|
||||||
);
|
);
|
||||||
$template->param( additional_contents => $additional_contents );
|
|
||||||
|
$template->param(
|
||||||
|
additional_contents => $additional_contents,
|
||||||
|
opac_available_options => Koha::AdditionalContents::get_html_customizations_options('opac'),
|
||||||
|
staff_available_options => Koha::AdditionalContents::get_html_customizations_options('staff'),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
my $translated_languages = C4::Languages::getTranslatedLanguages();
|
my $translated_languages = C4::Languages::getTranslatedLanguages();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue