[Koha-cvs] CVS: koha/acqui histsearch.pl,1.1,1.1.2.1

Henri-Damien LAURENT hdl at users.sourceforge.net
Thu May 26 11:21:32 CEST 2005


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

Modified Files:
      Tag: rel_2_2
	histsearch.pl 
Log Message:
Adding filter on placed on dates.
Modifying histsearch in C4/Acquisition.pm to take placedon_dates into account
And Acquistion-top to enable calendars

Index: histsearch.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/histsearch.pl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -r1.1 -r1.1.2.1
*** histsearch.pl	19 Oct 2004 12:24:56 -0000	1.1
--- histsearch.pl	26 May 2005 09:21:30 -0000	1.1.2.1
***************
*** 13,16 ****
--- 13,18 ----
  my $author = $input->param('author');
  my $name = $input->param('name');
+ my $from_placed_on = $input->param('fromplacedon');
+ my $to_placed_on = $input->param('toplacedon');
  
  my $dbh = C4::Context->dbh;
***************
*** 23,31 ****
  			     debug => 1,
  			     });
! my $order_loop= &histsearch($title,$author,$name);
  $template->param(suggestions_loop => $order_loop,
  				title => $title,
  				author => $author,
  				name => $name,
  );
  output_html_with_http_headers $input, $cookie, $template->output;
--- 25,35 ----
  			     debug => 1,
  			     });
! my $order_loop= &histsearch($title,$author,$name,$from_placed_on,$to_placed_on);
  $template->param(suggestions_loop => $order_loop,
  				title => $title,
  				author => $author,
  				name => $name,
+ 				from_placed_on =>$from_placed_on,
+ 				to_placed_on =>$to_placed_on
  );
  output_html_with_http_headers $input, $cookie, $template->output;





More information about the Koha-cvs mailing list