[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/catalogue search.pl [rel_3_0]
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/catalogue search.pl [rel_3_0] |
Date: |
Mon, 30 Oct 2006 13:26:08 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/10/30 13:26:08
Modified files:
catalogue : search.pl
Log message:
Enable itemtypes image on search.pl page.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/catalogue/search.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.3&r2=1.1.2.4
Patches:
Index: search.pl
===================================================================
RCS file: /sources/koha/koha/catalogue/Attic/search.pl,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- search.pl 26 Oct 2006 06:59:21 -0000 1.1.2.3
+++ search.pl 30 Oct 2006 13:26:08 -0000 1.1.2.4
@@ -2,7 +2,7 @@
# Script to perform searching
# For documentation try 'perldoc /path/to/search'
#
-# $Header: /sources/koha/koha/catalogue/Attic/search.pl,v 1.1.2.3 2006/10/26
06:59:21 hdl Exp $
+# $Header: /sources/koha/koha/catalogue/Attic/search.pl,v 1.1.2.4 2006/10/30
13:26:08 toins Exp $
#
# Copyright 2006 LibLime
#
@@ -224,8 +224,10 @@
my @itemtypesloop;
my $selected=1;
my $cnt;
+my $imgdir = getitemtypeimagesrc();
foreach my $thisitemtype (sort keys %$itemtypes) {
my %row =( number=>$cnt++,
+
imageurl=>$imgdir."/".$itemtypes->{$thisitemtype}->{'imageurl'},
code => $thisitemtype,
selected => $selected,
description => $itemtypes->{$thisitemtype}->{'description'},
@@ -392,6 +394,7 @@
my $facets; # this object stores the faceted results that display on the
left-hand of the results page
my @results_array;
my $results_hashref;
+
eval {
($error, $results_hashref, $facets) =
getRecords($koha_query,$federated_query,address@hidden,address@hidden,$results_per_page,$offset,$expanded_facet,$branches,$query_type,$scan);
@@ -438,7 +441,7 @@
} # end of the if local
else {
# check if it's a z3950 or opensearch source
- my $zed3950 = 0;
+ my $zed3950 = 0; # FIXME :: Hardcoded value.
if ($zed3950) {
my @inner_sup_results_array;
for my $sup_record (
@{$results_hashref->{$server}->{"RECORDS"}} ) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/catalogue search.pl [rel_3_0],
Antoine Farnault <=