Jonathan Druart
dc465736cd
$serialitem is not a Koha::Item there, we need to fetch the item before. Test plan: Turn makePreviousSerialAvailable on Create a subscription Receive an serial item, mark it "arrived" Without this patch Koha explodes with No property notforloan for Koha::Serial::Item at /usr/share/perl5/Exception/Class/Base.pm line 88 Koha::Object::set('Koha::Serial::Item=HASH(0x55dd67c75700)', 'HASH(0x55dd672cec30)') called at /kohadevbox/koha/serials/serials-edit.pl line 273 With this patch applied the notforloan and itype values are correctly set for the new serial item. Signed-off-by: Magnus Enger <magnus@libriotech.no> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> |
||
---|---|---|
.. | ||
acqui-search-result.pl | ||
acqui-search.pl | ||
add_user_search.pl | ||
checkexpiration.pl | ||
claims.pl | ||
create-numberpattern.pl | ||
lateissues-export.pl | ||
reorder_members.pl | ||
routing-preview.pl | ||
routing.pl | ||
serials-collection.pl | ||
serials-edit.pl | ||
serials-home.pl | ||
serials-search.pl | ||
showpredictionpattern.pl | ||
subscription-add.pl | ||
subscription-batchedit.pl | ||
subscription-bib-search.pl | ||
subscription-detail.pl | ||
subscription-frequencies.pl | ||
subscription-frequency.pl | ||
subscription-history.pl | ||
subscription-numberpattern.pl | ||
subscription-numberpatterns.pl | ||
subscription-renew.pl | ||
viewalerts.pl |