(BUG #4345) Redirect after closing a basket and creation of a group
authorAlex Arnaud <alex.arnaud@biblibre.com>
Mon, 29 Mar 2010 09:26:23 +0000 (11:26 +0200)
committerGalen Charlton <gmcharlt@gmail.com>
Fri, 30 Apr 2010 01:25:04 +0000 (21:25 -0400)
after closing a basket and creation of a group we should landed on the "Closed" tab.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
acqui/basket.pl

index cd67046..60c2a64 100755 (executable)
@@ -159,7 +159,7 @@ if ( $op eq 'delete_confirm' ) {
                             });
             ModBasket( { basketno => $basketno,
                          basketgroupid => $basketgroupid } );
-            print $query->redirect('/cgi-bin/koha/acqui/basketgroup.pl?booksellerid='.$booksellerid);
+            print $query->redirect('/cgi-bin/koha/acqui/basketgroup.pl?booksellerid='.$booksellerid.'&closed=1');
         } else {
             print $query->redirect('/cgi-bin/koha/acqui/basketgroup.pl?basketno='.$basketno.'&amp;op=attachbasket&amp;booksellerid=' . $booksellerid);
         }