[Koha-patches] [PATCH] (BUG #4345) Redirect after closing a basket and creation of a group

Alex Arnaud alex.arnaud at biblibre.com
Mon Mar 29 11:26:23 CEST 2010


after closing a basket and creation of a group we should landed on the "Closed" tab.
---
 acqui/basket.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/acqui/basket.pl b/acqui/basket.pl
index cd67046..60c2a64 100755
--- a/acqui/basket.pl
+++ b/acqui/basket.pl
@@ -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.'&op=attachbasket&booksellerid=' . $booksellerid);
         }
-- 
1.6.3.3




More information about the Koha-patches mailing list