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