@@ -, +, @@ search - In the category search form, a "Choose" option should be selected. Submitting the form without selecting a category should not work. - Search using one of your existing categories. On the search results page the category you selected should remain selected. --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt | 13 +++++++++---- tools/upload.pl | 7 ++++--- 2 files changed, 13 insertions(+), 7 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt @@ -120,10 +120,15 @@
  1. - + + [% FOREACH cat IN uploadcategories %] + [% IF cat.code == browsecategory %] + + [% ELSE -%] + + [% END %] + [% END %]
--- a/tools/upload.pl +++ a/tools/upload.pl @@ -69,9 +69,10 @@ if ( $op eq 'new' ) { } $template->param( - mode => 'report', - msg => $msg, - uploads => $uploads, + mode => 'report', + msg => $msg, + uploads => $uploads, + browsecategory => $browsecategory, ); output_html_with_http_headers $input, $cookie, $template->output; --