X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=acqui%2Fbasketgroup.pl;h=e8273a92d26ad1f64573bfdd87d187e54cbaa26c;hb=5429c5f497fe426b6905b5ef9693f4e42afff5d7;hp=7e407b3aa218df716e4c71645e58f53670e321e7;hpb=4747ea7462c04770484386538b1594c1760bc75b;p=koha_fer diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl index 7e407b3aa2..e8273a92d2 100755 --- a/acqui/basketgroup.pl +++ b/acqui/basketgroup.pl @@ -437,8 +437,10 @@ if ( $op eq "add" ) { }; $basketgroupid = NewBasketgroup($basketgroup); } - - print $input->redirect('/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=' . $booksellerid); + + my $url = '/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=' . $booksellerid; + $url .= "&closed=1" if ($input->param("closed")); + print $input->redirect($url); }else{ my $basketgroups = &GetBasketgroups($booksellerid); @@ -447,5 +449,6 @@ if ( $op eq "add" ) { displaybasketgroups($basketgroups, $bookseller, $baskets); } +$template->param(closed => $input->param("closed")); #prolly won't use all these, maybe just use print, the rest can be done inside validate output_html_with_http_headers $input, $cookie, $template->output;