Lines 3318-3324
sub _koha_modify_biblioitem_nonmarc {
Link Here
|
3318 |
cn_suffix = ?, |
3318 |
cn_suffix = ?, |
3319 |
cn_sort = ?, |
3319 |
cn_sort = ?, |
3320 |
totalissues = ?, |
3320 |
totalissues = ?, |
3321 |
ean = ? |
3321 |
ean = ?, |
|
|
3322 |
agerestriction = ? |
3322 |
where biblioitemnumber = ? |
3323 |
where biblioitemnumber = ? |
3323 |
"; |
3324 |
"; |
3324 |
my $sth = $dbh->prepare($query); |
3325 |
my $sth = $dbh->prepare($query); |
Lines 3330-3337
sub _koha_modify_biblioitem_nonmarc {
Link Here
|
3330 |
$biblioitem->{'pages'}, $biblioitem->{'bnotes'}, $biblioitem->{'size'}, $biblioitem->{'place'}, |
3331 |
$biblioitem->{'pages'}, $biblioitem->{'bnotes'}, $biblioitem->{'size'}, $biblioitem->{'place'}, |
3331 |
$biblioitem->{'lccn'}, $biblioitem->{'url'}, $biblioitem->{'biblioitems.cn_source'}, $biblioitem->{'cn_class'}, |
3332 |
$biblioitem->{'lccn'}, $biblioitem->{'url'}, $biblioitem->{'biblioitems.cn_source'}, $biblioitem->{'cn_class'}, |
3332 |
$biblioitem->{'cn_item'}, $biblioitem->{'cn_suffix'}, $cn_sort, $biblioitem->{'totalissues'}, |
3333 |
$biblioitem->{'cn_item'}, $biblioitem->{'cn_suffix'}, $cn_sort, $biblioitem->{'totalissues'}, |
3333 |
$biblioitem->{'ean'}, |
3334 |
$biblioitem->{'ean'}, $biblioitem->{'agerestriction'}, $biblioitem->{'biblioitemnumber'} |
3334 |
$biblioitem->{'biblioitemnumber'} |
|
|
3335 |
); |
3335 |
); |
3336 |
if ( $dbh->errstr ) { |
3336 |
if ( $dbh->errstr ) { |
3337 |
$error .= "ERROR in _koha_modify_biblioitem_nonmarc $query" . $dbh->errstr; |
3337 |
$error .= "ERROR in _koha_modify_biblioitem_nonmarc $query" . $dbh->errstr; |
Lines 3383-3389
sub _koha_add_biblioitem {
Link Here
|
3383 |
cn_suffix = ?, |
3383 |
cn_suffix = ?, |
3384 |
cn_sort = ?, |
3384 |
cn_sort = ?, |
3385 |
totalissues = ?, |
3385 |
totalissues = ?, |
3386 |
ean = ? |
3386 |
ean = ?, |
|
|
3387 |
agerestriction = ? |
3387 |
"; |
3388 |
"; |
3388 |
my $sth = $dbh->prepare($query); |
3389 |
my $sth = $dbh->prepare($query); |
3389 |
$sth->execute( |
3390 |
$sth->execute( |
Lines 3394-3400
sub _koha_add_biblioitem {
Link Here
|
3394 |
$biblioitem->{'pages'}, $biblioitem->{'bnotes'}, $biblioitem->{'size'}, $biblioitem->{'place'}, |
3395 |
$biblioitem->{'pages'}, $biblioitem->{'bnotes'}, $biblioitem->{'size'}, $biblioitem->{'place'}, |
3395 |
$biblioitem->{'lccn'}, $biblioitem->{'marc'}, $biblioitem->{'url'}, $biblioitem->{'biblioitems.cn_source'}, |
3396 |
$biblioitem->{'lccn'}, $biblioitem->{'marc'}, $biblioitem->{'url'}, $biblioitem->{'biblioitems.cn_source'}, |
3396 |
$biblioitem->{'cn_class'}, $biblioitem->{'cn_item'}, $biblioitem->{'cn_suffix'}, $cn_sort, |
3397 |
$biblioitem->{'cn_class'}, $biblioitem->{'cn_item'}, $biblioitem->{'cn_suffix'}, $cn_sort, |
3397 |
$biblioitem->{'totalissues'}, $biblioitem->{'ean'} |
3398 |
$biblioitem->{'totalissues'}, $biblioitem->{'ean'}, $biblioitem->{'agerestriction'} |
3398 |
); |
3399 |
); |
3399 |
my $bibitemnum = $dbh->{'mysql_insertid'}; |
3400 |
my $bibitemnum = $dbh->{'mysql_insertid'}; |
3400 |
|
3401 |
|