[Koha] MARC display - subfield 0 - possible bug

Janusz Kaczmarek januszop at gmail.com
Thu Aug 14 09:59:37 NZST 2008


Dear Koha Developers,


I have noticed that Koha (probably) never displays "0" subfields in 
librarian MARC view (of course the subfield is not empty nor hidden and 
it is active). It is probably because of the line:


$subf[$i][0] = "@" unless $subf[$i][0];


(line 165 of MARCdetail.pl). (A similar situation in case of line 134 of 
opac-MARCdetail.pl.)


Isn't it a bug? Shouldn't the line be like:


$subf[$i][0] = "@" unless $subf[$i][0] ne ""; ?


But even if, what is the line for? If the subfield code is changed then 
probably the subsequent line will cause a 'next'...


Regards,

Janusz Kaczmarek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080814/77fe65d0/attachment.htm 


More information about the Koha mailing list