[Koha-cvs] koha/opac opac-reserve.pl [dev_week]

Joshua Ferraro jmf at liblime.com
Mon Apr 2 17:20:53 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Joshua Ferraro <kados>	07/04/02 15:20:53

Modified files:
	opac           : opac-reserve.pl 

Log message:
	As requested by NPL, changing the redirect in dev_week's opac-reserve.pl from this:
	Line 246   print $query->redirect("/cgi-bin/koha/opac-user.pl");
	To this:
	     print $query->redirect("/cgi-bin/koha/opac-user.pl?display=reserves");
	...so that patrons are redirected to their list of reserves instead of
	their list of checkouts

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-reserve.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.22.2.9.2.3&r2=1.22.2.9.2.4

Patches:
Index: opac-reserve.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-reserve.pl,v
retrieving revision 1.22.2.9.2.3
retrieving revision 1.22.2.9.2.4
diff -u -b -r1.22.2.9.2.3 -r1.22.2.9.2.4
--- opac-reserve.pl	9 Oct 2006 13:22:24 -0000	1.22.2.9.2.3
+++ opac-reserve.pl	2 Apr 2007 15:20:53 -0000	1.22.2.9.2.4
@@ -243,7 +243,7 @@
 	if ($query->param('all')) {
 		CreateReserve(undef,$branch,$borrowernumber,$biblionumber,'a', undef, $rank,'',$title);
 	}
-	print $query->redirect("/cgi-bin/koha/opac-user.pl");
+	print $query->redirect("/cgi-bin/koha/opac-user.pl?display=reserves");
 } else {
 	# Here we check that the borrower can actually make reserves Stage 1.
 	my $noreserves = 0;





More information about the Koha-cvs mailing list