On Sat, Feb 25, 2006 at 10:35:57AM +0100, Wojciech Zatorski said:
Hello koha,
why are this lines in koha code?
if ($fields[$x_i]->tag() eq $fields[$x_i-1]->tag()) { $tag_data{tag}=""; } else { $tag_data{tag}=$fields[$x_i]->tag().' -'. $tagslib->{$fields[$x_i]->tag()}->{lib}; }
because this lines of marc display are incorrect with marc standards (for example field 650)...
Answering on the devel list as this is a more appropriate place for this type of discussion. What module/script is this code in, and what lines? If you provide more information its much easier for people to fix things. Chris -- Chris Cormack Programmer 027 4500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz