Biblio.pm Line 1697: $biblioitem->{'pages'}, $biblioitem->{'bnotes'}, should be: $biblioitem->{'pages'}, $biblioitem->{'notes'}, moredetail.tmpl expects bnotes, but in the biblioitem table, its notes. so it doesn't work.: Line 30 of moredetail.tmpl: <p><b>Notes:</b> <!-- TMPL_VAR NAME="bnotes" --></p> Should be: <p><b>Notes:</b> <!-- TMPL_VAR NAME="notes" --></p> as moredetail.pl passes the table results bibitem, which has notes, not bnotes. In saveitem.pl its notes too, so in passing to newbiblio, saves a null string to bnotes... and biblioitem.notes is always null. A few bnotes mistakes in other files: line 96 in modbib.pl: notes => $data->{'bnotes'} should be: notes => $data->{'notes'} modbibitem.pl - line 119: $template->param(bnotes=>$data->{'bnotes'}); should be: $template->param(bnotes=>$data->{'notes'}); in the opac cgi directory - opac-moredetail.pl line 95: <b>Notes:</b> $data->{'notes'}<br> should be: <b>Notes:</b> $data->{'bnotes'}<br> marc_subfields_structure.pl line 100: if ($field eq 'notes') { $field = 'bnotes'; } Trying to repair the mistakes someone made... and forgetting to update the table to include a bnotes field? fix by: # if ($field eq 'notes') { $field = 'bnotes'; } comment out. z3950import.pl line 809: $biblioitem{bnotes} =$input->param('notes'); should be: $biblioitem{notes} =$input->param('notes'); --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.796 / Virus Database: 540 - Release Date: 13/11/2004
Waylon Robertson a écrit :
Biblio.pm Line 1697: $biblioitem->{'pages'}, $biblioitem->{'bnotes'}, should be: $biblioitem->{'pages'}, $biblioitem->{'notes'},
moredetail.tmpl expects bnotes, but in the biblioitem table, its notes. so it doesn't work.:
slef, you're the developper that managed biblio / biblioitems notes duplicated field, so you're the "bnote" guy. I'm not sure those patches are OK. Could you tell me pls ? seems it's ok for waylon, but i want your confirm -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
participants (2)
-
Paul POULAIN -
Waylon Robertson