[Koha-cvs] CVS: koha/acqui basket.pl,1.23,1.24

Paul POULAIN tipaul at users.sourceforge.net
Tue Oct 5 11:22:19 CEST 2004


Update of /cvsroot/koha/koha/acqui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1872/acqui

Modified Files:
	basket.pl 
Log Message:
Adding possibility to order the basket by :
* publishercode
OR
* budget then publishercode

Index: basket.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/basket.pl,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** basket.pl	4 Oct 2004 20:03:23 -0000	1.23
--- basket.pl	5 Oct 2004 09:22:16 -0000	1.24
***************
*** 38,41 ****
--- 38,42 ----
  my $basketno = $query ->param('basket');
  my $booksellerid = $query->param('supplierid');
+ my $order = $query->param('order');
  my ($template, $loggedinuser, $cookie)
      = get_template_and_user({template_name => "acqui/basket.tmpl",
***************
*** 58,62 ****
  $basket->{creationdate} = "" unless ($basket->{creationdate});
  $basket->{authorisedby} = $loggedinuser unless ($basket->{authorisedby});
! ($count, at results)=getbasketcontent($basketno);
  
  my $line_total; # total of each line
--- 59,63 ----
  $basket->{creationdate} = "" unless ($basket->{creationdate});
  $basket->{authorisedby} = $loggedinuser unless ($basket->{authorisedby});
! ($count, at results)=getbasketcontent($basketno,'',$order);
  
  my $line_total; # total of each line





More information about the Koha-cvs mailing list