koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Search.pm [rel_3_0]


From: paul poulain
Subject: [Koha-cvs] koha/C4 Search.pm [rel_3_0]
Date: Wed, 15 Nov 2006 15:45:26 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     paul poulain <tipaul>   06/11/15 15:45:26

Modified files:
        C4             : Search.pm 

Log message:
        minor reindenting

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Search.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.120.2.23&r2=1.120.2.24

Patches:
Index: Search.pm
===================================================================
RCS file: /sources/koha/koha/C4/Search.pm,v
retrieving revision 1.120.2.23
retrieving revision 1.120.2.24
diff -u -b -r1.120.2.23 -r1.120.2.24
--- Search.pm   15 Nov 2006 14:46:40 -0000      1.120.2.23
+++ Search.pm   15 Nov 2006 15:45:25 -0000      1.120.2.24
@@ -39,7 +39,7 @@
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.120.2.23 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.120.2.24 $' =~ /\d+/g;
           shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 =head1 NAME
@@ -2816,7 +2816,6 @@
         for my $one_facet (sort { $facets_counter->{ $link_value }->{$b} <=> 
$facets_counter->{ $link_value }->{$a} } keys %{$facets_counter->{ $link_value 
}} ) {
             $number_of_facets++;
             if (($number_of_facets < 6) || ($expanded_facet eq $link_value) || 
($facets_info->{ $link_value }->{ 'expanded'})) {
-
                 # sanitize the link value ), ( will cause errors with CCL
                 my $facet_link_value = $one_facet;
                 $facet_link_value =~ s/(\(|\))/ /g;
@@ -2827,7 +2826,7 @@
                 # well, if it's a branch, label by the name, not the code
                 if ($link_value =~/branch/) {
                     $facet_label_value = 
$branches->{$one_facet}->{'branchname'};
-}
+                        }
 
                 # but we're down with the whole label being in the link's title
                 my $facet_title_value = $one_facet;
@@ -2855,7 +2854,6 @@
             }
         );
     }
-
         }
     }
     return (undef, $results_hashref, address@hidden);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]