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

Steve Tonnesen tonnesen at users.sourceforge.net
Sat Dec 7 08:07:02 CET 2002


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'}=\@sub;
+     $data->{subject}=~s/ | $//;
      $sth->finish;
      $dbh->disconnect;





More information about the Koha-cvs mailing list