[Koha-cvs] CVS: koha/opac opac-basket.pl,1.3.2.2,1.3.2.3
Paul POULAIN
tipaul at users.sourceforge.net
Fri Sep 23 12:08:11 CEST 2005
Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2940/opac
Modified Files:
Tag: rel_2_2
opac-basket.pl
Log Message:
when clicking on the title, go to the biblio detail, but using simple/complete/isbd view, depending on systempref
Index: opac-basket.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-basket.pl,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -C2 -r1.3.2.2 -r1.3.2.3
*** opac-basket.pl 25 Mar 2005 17:04:27 -0000 1.3.2.2
--- opac-basket.pl 23 Sep 2005 10:08:09 -0000 1.3.2.3
***************
*** 47,50 ****
--- 47,57 ----
$dat->{'biblionumber'} = $biblionumber;
$dat->{ITEM_RESULTS} = \@items;
+ if (C4::Context->preference("BiblioDefaultView") eq "normal") {
+ $dat->{dest} = "opac-detail.pl";
+ } elsif (C4::Context->preference("BiblioDefaultView") eq "marc") {
+ $dat->{dest} ="opac-MARCdetail.pl";
+ } else {
+ $dat->{dest} = "opac-ISBDdetail.pl";
+ }
push (@results, $dat);
}
More information about the Koha-cvs
mailing list