[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/search.marc search.pl,1.22.2.1,1.22.2.2
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/search.marc search.pl,1.22.2.1,1.22.2.2 |
Date: |
Fri, 25 Mar 2005 09:05:46 -0800 |
Update of /cvsroot/koha/koha/search.marc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27687/search.marc
Modified Files:
Tag: rel_2_2
search.pl
Log Message:
minor but nice feature : if a search gives only 1 answer, reach it immadiatly
Index: search.pl
===================================================================
RCS file: /cvsroot/koha/koha/search.marc/search.pl,v
retrieving revision 1.22.2.1
retrieving revision 1.22.2.2
diff -C2 -r1.22.2.1 -r1.22.2.2
*** search.pl 7 Mar 2005 09:49:10 -0000 1.22.2.1
--- search.pl 25 Mar 2005 17:05:41 -0000 1.22.2.2
***************
*** 132,136 ****
address@hidden, address@hidden, address@hidden,
$startfrom*$resultsperpage, $resultsperpage,$orderby,$desc_or_asc);
!
($template, $loggedinuser, $cookie)
= get_template_and_user({template_name =>
"search.marc/result.tmpl",
--- 132,140 ----
address@hidden, address@hidden, address@hidden,
$startfrom*$resultsperpage, $resultsperpage,$orderby,$desc_or_asc);
! if ($total == 1) {
! # if only 1 answer, jump directly to the biblio
! print
$query->redirect("/cgi-bin/koha/MARCdetail.pl?bib="address@hidden>{biblionumber});
! exit
! }
($template, $loggedinuser, $cookie)
= get_template_and_user({template_name =>
"search.marc/result.tmpl",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/search.marc search.pl,1.22.2.1,1.22.2.2,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/opac opac-addbookbybiblionumber.pl,1.1.2.1,1.1.2.2 opac-basket.pl,1.3.2.1,1.3.2.2 opac-detail.pl,1.14.2.2,1.14.2.3 opac-ISBDdetail.pl,1.5.2.2,1.5.2.3 opac-MARCdetail.pl,1.4.2.2,1.4.2.3 opac-readingrecord.pl,1.6,1.6.2.1 opac-reserve.pl,1.22.2.1,1.22.2.2 opac-search.pl,1.21.2.1,1.21.2.2 opac-searchresults.pl,1.16,1.16.2.1 opac-sendbasket.pl,1.4,1.4.2.1 opac-serial-issues.pl,1.1.2.2,1.1.2.3 opac-shelves.pl,1.3.2.3,1.3.2.4 opac-sidebar.pl,1.4,1.4.4.1 opac-suggestions.pl,1.3,1.3.2.1 opac-userdetails.pl,1.8,1.8.2.1 opac-user.pl,1.14.2.1,1.14.2.2 opac-userupdate.pl,1.11,1.11.2.1
- Next by Date:
[Koha-cvs] CVS: koha MARCdetail.pl,1.25.2.4,1.25.2.5
- Previous by thread:
[Koha-cvs] CVS: koha/opac opac-addbookbybiblionumber.pl,1.1.2.1,1.1.2.2 opac-basket.pl,1.3.2.1,1.3.2.2 opac-detail.pl,1.14.2.2,1.14.2.3 opac-ISBDdetail.pl,1.5.2.2,1.5.2.3 opac-MARCdetail.pl,1.4.2.2,1.4.2.3 opac-readingrecord.pl,1.6,1.6.2.1 opac-reserve.pl,1.22.2.1,1.22.2.2 opac-search.pl,1.21.2.1,1.21.2.2 opac-searchresults.pl,1.16,1.16.2.1 opac-sendbasket.pl,1.4,1.4.2.1 opac-serial-issues.pl,1.1.2.2,1.1.2.3 opac-shelves.pl,1.3.2.3,1.3.2.4 opac-sidebar.pl,1.4,1.4.4.1 opac-suggestions.pl,1.3,1.3.2.1 opac-userdetails.pl,1.8,1.8.2.1 opac-user.pl,1.14.2.1,1.14.2.2 opac-userupdate.pl,1.11,1.11.2.1
- Next by thread:
[Koha-cvs] CVS: koha MARCdetail.pl,1.25.2.4,1.25.2.5
- Index(es):