koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/opac opac-dictionary.pl,1.1.2.1,1.1.2.2


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/opac opac-dictionary.pl,1.1.2.1,1.1.2.2
Date: Fri, 17 Jun 2005 08:53:37 -0700

Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10444/opac

Modified Files:
      Tag: rel_2_2
        opac-dictionary.pl 
Log Message:
special bugfix for HDL : when doing X+Y on 2 fields that can have a numeric 
value, you will get X+Y as result. What you wanted to do was concat(X,Y), to 
have 700+9 being 7009 and not 709 ;-)

Index: opac-dictionary.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/Attic/opac-dictionary.pl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** opac-dictionary.pl  7 Jun 2005 10:23:13 -0000       1.1.2.1
--- opac-dictionary.pl  17 Jun 2005 15:53:35 -0000      1.1.2.2
***************
*** 106,110 ****
        }
        $listtags =~s/,$/)/;
!       $strsth .= $listtags." and 
marc_word.tagsubfield=marc_subfield_table.tag+marc_subfield_table.subfieldcode 
group by subfieldvalue ";
  #     warn "search in biblio : ".$strsth;
        my $value = uc($search[0]);
--- 106,110 ----
        }
        $listtags =~s/,$/)/;
!       $strsth .= $listtags." and 
marc_word.tagsubfield=concat(marc_subfield_table.tag,marc_subfield_table.subfieldcode)
 group by subfieldvalue ";
  #     warn "search in biblio : ".$strsth;
        my $value = uc($search[0]);




reply via email to

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