Fix for bug 535, and adding the classification column to the variables

available to the template
This commit is contained in:
rangi 2003-11-04 19:48:50 +00:00
parent 8c26703607
commit 9c998cda51
2 changed files with 9 additions and 2 deletions

View file

@ -1372,7 +1372,8 @@ sub getissues {
biblio.author AS author,
biblioitems.dewey AS dewey,
itemtypes.description AS itemtype,
biblioitems.subclass AS subclass
biblioitems.subclass AS subclass,
biblioitems.classification AS classification
FROM issues,items,biblioitems,biblio, itemtypes
WHERE issues.borrowernumber = ?
AND issues.itemnumber = items.itemnumber

View file

@ -236,6 +236,9 @@ if ($borrower) {
($tcolor eq $linecolor1) ? ($tcolor=$linecolor2) : ($tcolor=$linecolor1);
$book->{'dd'}=$dd;
$book->{'tcolor'}=$tcolor;
if ($book->{'author'} eq ''){
$book->{'author'}=' ';
}
push @realtodayissues,$book;
}
@ -259,7 +262,10 @@ if ($borrower) {
}
($pcolor eq $linecolor1) ? ($pcolor=$linecolor2) : ($pcolor=$linecolor1);
$book->{'dd'}=$dd;
$book->{'tcolor'}=$pcolor;
$book->{'tcolor'}=$pcolor;
if ($book->{'author'} eq ''){
$book->{'author'}=' ';
}
push @realprevissues,$book
}
}