koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/C4 Search.pm,1.18.2.21,1.18.2.22


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha/C4 Search.pm,1.18.2.21,1.18.2.22
Date: Fri, 06 Dec 2002 23:07:02 -0800

Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1:/tmp/cvs-serv19633

Modified Files:
      Tag: rel-1-2
        Search.pm 
Log Message:
Templates use the 'subject' hash entry for listing the subject headings of a
biblio.


Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.18.2.21
retrieving revision 1.18.2.22
diff -C2 -r1.18.2.21 -r1.18.2.22
*** Search.pm   5 Dec 2002 23:07:24 -0000       1.18.2.21
--- Search.pm   7 Dec 2002 07:07:00 -0000       1.18.2.22
***************
*** 1476,1481 ****
--- 1476,1483 ----
      while (my $dat = $sth->fetchrow_hashref){
          push @sub,$dat;
+       $data->{'subject'}.=$dat->{subject}." | ";
      } # while
      $data->{'subjects'address@hidden;
+     $data->{subject}=~s/ | $//;
      $sth->finish;
      $dbh->disconnect;




reply via email to

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