[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/opac opac-search.pl,1.20,1.21
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/opac opac-search.pl,1.20,1.21 |
Date: |
Fri, 10 Dec 2004 08:12:05 -0800 |
Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9064/opac
Modified Files:
opac-search.pl
Log Message:
Improvement : adding a systempref to define default view in OPAC (either
normal, MARC or ISBD). Created automatically during install or update. Check
that you have a Koha >> parameters >> systempreferences >> BiblioDefaultView,
Variable type : Choice, Variable options : normal|marc|isbd
Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** opac-search.pl 8 Nov 2004 19:56:26 -0000 1.20
--- opac-search.pl 10 Dec 2004 16:11:31 -0000 1.21
***************
*** 126,129 ****
--- 126,130 ----
$to = (($startfrom+1)*$resultsperpage);
}
+ my $defaultview =
'BiblioDefaultView'.C4::Context->preference('BiblioDefaultView');
$template->param(results => $results,
startfrom=> $startfrom,
***************
*** 140,143 ****
--- 141,145 ----
numbers=>address@hidden,
searchdesc=>
$searchdesc,
+ $defaultview => 1,
);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/opac opac-search.pl,1.20,1.21,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-searchresults.tmpl,1.19,1.20
- Next by Date:
[Koha-cvs] CVS: koha/C4 Biblio.pm,1.112,1.113 SearchMarc.pm,1.34,1.35
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-searchresults.tmpl,1.19,1.20
- Next by thread:
[Koha-cvs] CVS: koha/C4 Biblio.pm,1.112,1.113 SearchMarc.pm,1.34,1.35
- Index(es):