Bug 29619 - Ordering single item does not save item as Ordered
Summary: Ordering single item does not save item as Ordered
Status: RESOLVED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: 21.11
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-12-02 04:29 UTC by Minna Kivinen
Modified: 2023-06-25 08:48 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Minna Kivinen 2021-12-02 04:29:44 UTC
When ordering just one item, the item does not get "Not for loan" -value "Ordered".

When function "Add more items" is used to put item(s) to order, the item(s) get value "Ordered". (Even if you that way add only one item).

Path to get the bug:
Find a vendor and a acquisition basket
Choose "Add to basket"
Find title to order - Choose "Add order"
Edit item details (do not touch Not for loan value). Choose "Add item".
Save new order.
-> result: item is added as available (Should be Ordered)
Comment 1 Katrin Fischer 2021-12-06 00:00:08 UTC
Hi Minna, have you set the default value for subfield 7 to -1 in your ACQ framework?
Comment 2 Minna Kivinen 2021-12-07 05:42:03 UTC
Yes I have set default value for subfield 7 to -1 in ACQ framework. Actually it seems that Koha does not read all default values from the framework for the first item when adding on one item at time.
Comment 3 Katrin Fischer 2021-12-07 08:06:27 UTC
Hi Minna, is this in 21.11.00? And does the not for loan show as empty in the item form in acq? (it should not... but...)
Comment 4 Minna Kivinen 2021-12-07 08:09:48 UTC
Yes it is in 21.11. And the field is empty when editing the aq-item.
Comment 5 Katrin Fischer 2021-12-07 08:14:36 UTC
Thx Minna, I've updated severity to get more attention.
Comment 6 Katrin Fischer 2022-11-17 10:13:48 UTC
Hi Minna, I just tested this on current master and it works ok for me. I set the default in the framework and my ordered items are created as 'on order'.
Does the problem still occur for you and could you double check for framework configuration for ACQ 952$7?
Comment 7 Katrin Fischer 2023-06-25 08:48:58 UTC
(In reply to Katrin Fischer from comment #6)
> Hi Minna, I just tested this on current master and it works ok for me. I set
> the default in the framework and my ordered items are created as 'on order'.
> Does the problem still occur for you and could you double check for
> framework configuration for ACQ 952$7?

I just tested again in master and it all works as expected. I am closing this WORKSFORME. Please reopen if this problem still persists for you.