Lines 3270-3276
sub _koha_modify_biblioitem_nonmarc {
Link Here
|
3270 |
cn_item = ?, |
3270 |
cn_item = ?, |
3271 |
cn_suffix = ?, |
3271 |
cn_suffix = ?, |
3272 |
cn_sort = ?, |
3272 |
cn_sort = ?, |
3273 |
totalissues = ? |
3273 |
totalissues = ?, |
|
|
3274 |
agerestriction = ? |
3274 |
where biblioitemnumber = ? |
3275 |
where biblioitemnumber = ? |
3275 |
"; |
3276 |
"; |
3276 |
my $sth = $dbh->prepare($query); |
3277 |
my $sth = $dbh->prepare($query); |
Lines 3282-3288
sub _koha_modify_biblioitem_nonmarc {
Link Here
|
3282 |
$biblioitem->{'pages'}, $biblioitem->{'bnotes'}, $biblioitem->{'size'}, $biblioitem->{'place'}, |
3283 |
$biblioitem->{'pages'}, $biblioitem->{'bnotes'}, $biblioitem->{'size'}, $biblioitem->{'place'}, |
3283 |
$biblioitem->{'lccn'}, $biblioitem->{'url'}, $biblioitem->{'biblioitems.cn_source'}, $biblioitem->{'cn_class'}, |
3284 |
$biblioitem->{'lccn'}, $biblioitem->{'url'}, $biblioitem->{'biblioitems.cn_source'}, $biblioitem->{'cn_class'}, |
3284 |
$biblioitem->{'cn_item'}, $biblioitem->{'cn_suffix'}, $cn_sort, $biblioitem->{'totalissues'}, |
3285 |
$biblioitem->{'cn_item'}, $biblioitem->{'cn_suffix'}, $cn_sort, $biblioitem->{'totalissues'}, |
3285 |
$biblioitem->{'biblioitemnumber'} |
3286 |
$biblioitem->{'agerestriction'}, $biblioitem->{'biblioitemnumber'} |
3286 |
); |
3287 |
); |
3287 |
if ( $dbh->errstr ) { |
3288 |
if ( $dbh->errstr ) { |
3288 |
$error .= "ERROR in _koha_modify_biblioitem_nonmarc $query" . $dbh->errstr; |
3289 |
$error .= "ERROR in _koha_modify_biblioitem_nonmarc $query" . $dbh->errstr; |
Lines 3333-3339
sub _koha_add_biblioitem {
Link Here
|
3333 |
cn_item = ?, |
3334 |
cn_item = ?, |
3334 |
cn_suffix = ?, |
3335 |
cn_suffix = ?, |
3335 |
cn_sort = ?, |
3336 |
cn_sort = ?, |
3336 |
totalissues = ? |
3337 |
totalissues = ?, |
|
|
3338 |
agerestriction = ? |
3337 |
"; |
3339 |
"; |
3338 |
my $sth = $dbh->prepare($query); |
3340 |
my $sth = $dbh->prepare($query); |
3339 |
$sth->execute( |
3341 |
$sth->execute( |
Lines 3344-3350
sub _koha_add_biblioitem {
Link Here
|
3344 |
$biblioitem->{'pages'}, $biblioitem->{'bnotes'}, $biblioitem->{'size'}, $biblioitem->{'place'}, |
3346 |
$biblioitem->{'pages'}, $biblioitem->{'bnotes'}, $biblioitem->{'size'}, $biblioitem->{'place'}, |
3345 |
$biblioitem->{'lccn'}, $biblioitem->{'marc'}, $biblioitem->{'url'}, $biblioitem->{'biblioitems.cn_source'}, |
3347 |
$biblioitem->{'lccn'}, $biblioitem->{'marc'}, $biblioitem->{'url'}, $biblioitem->{'biblioitems.cn_source'}, |
3346 |
$biblioitem->{'cn_class'}, $biblioitem->{'cn_item'}, $biblioitem->{'cn_suffix'}, $cn_sort, |
3348 |
$biblioitem->{'cn_class'}, $biblioitem->{'cn_item'}, $biblioitem->{'cn_suffix'}, $cn_sort, |
3347 |
$biblioitem->{'totalissues'} |
3349 |
$biblioitem->{'totalissues'}, $biblioitem->{'agerestriction'} |
3348 |
); |
3350 |
); |
3349 |
my $bibitemnum = $dbh->{'mysql_insertid'}; |
3351 |
my $bibitemnum = $dbh->{'mysql_insertid'}; |
3350 |
|
3352 |
|