Bug 22712 - Funds from inactive budgets appear on Item details if using MarcItemFieldstoOrder
Summary: Funds from inactive budgets appear on Item details if using MarcItemFieldstoO...
Status: Pushed to oldstable
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal with 10 votes (vote)
Assignee: Nick Clemens
QA Contact: Testopia
URL:
Keywords: rel_23_11_candidate
Depends on:
Blocks:
 
Reported: 2019-04-16 10:24 UTC by Kelly McElligott
Modified: 2023-11-13 15:29 UTC (History)
9 users (show)

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


Attachments
drop down (423.09 KB, image/png)
2019-04-16 10:24 UTC, Kelly McElligott
Details
Bug 22712: Make 'Show inactive funds' button on addorderiso2907.pl work for item budgets (6.04 KB, patch)
2023-10-23 19:58 UTC, Nick Clemens
Details | Diff | Splinter Review
Bug 22712: Make 'Show inactive funds' button on addorderiso2907.pl work for item budgets (6.10 KB, patch)
2023-10-24 17:07 UTC, Lucas Gass
Details | Diff | Splinter Review
Bug 22712: Make 'Show inactive funds' button on addorderiso2907.pl work for item budgets (6.15 KB, patch)
2023-10-29 10:41 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Kelly McElligott 2019-04-16 10:24:11 UTC
Created attachment 88047 [details]
drop down

Bug 14850 has been fixed and patched for 18.11.  This removes the ability to see inactive funds when allocating orders to these funds from an inactive budget. However, if a library is using the system preference MarcItemFieldstoOrder, all the funds will appear in the drop-down menu for that item record.
Comment 1 Katrin Fischer 2019-11-24 22:04:57 UTC
Could this have been related to bug 20014?
Comment 2 Sara Brown 2022-12-08 23:32:35 UTC
This appears to still be relevant as of 22.05.05.
Comment 3 Katrin Fischer 2023-09-23 22:08:33 UTC
Nick, maybe you can tell if this has been fixed?
Comment 4 Nick Clemens 2023-10-23 19:58:28 UTC
Created attachment 157691 [details] [review]
Bug 22712: Make 'Show inactive funds' button on addorderiso2907.pl work for item budgets

This requires enabling MarcItemFieldsToOrder, see bug 34645

Add an inactive Budget and some funds to your system

Import a file with multiple biblios

Confirm the button hids/displays the funds for all item orders
Comment 5 Lucas Gass 2023-10-24 17:07:28 UTC
Created attachment 157751 [details] [review]
Bug 22712: Make 'Show inactive funds' button on addorderiso2907.pl work for item budgets

This requires enabling MarcItemFieldsToOrder, see bug 34645

Add an inactive Budget and some funds to your system

Import a file with multiple biblios

Confirm the button hids/displays the funds for all item orders

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Comment 6 Katrin Fischer 2023-10-29 10:38:37 UTC
I think it would be nicer if we also had the option here to see the option groups with the budgets. But this fixes the immediate problem of the inactive funds showing.
Comment 7 Katrin Fischer 2023-10-29 10:41:49 UTC
Created attachment 158036 [details] [review]
Bug 22712: Make 'Show inactive funds' button on addorderiso2907.pl work for item budgets

This requires enabling MarcItemFieldsToOrder, see bug 34645

Add an inactive Budget and some funds to your system

Import a file with multiple biblios

Confirm the button hids/displays the funds for all item orders

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 8 Tomás Cohen Arazi 2023-10-30 12:02:58 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 9 Laura O'Neil 2023-11-06 13:48:13 UTC
Can this be backported to 23.05?
Comment 10 Fridolin Somers 2023-11-08 08:17:02 UTC
Pushed to 23.05.x for 23.05.06
Comment 11 Matt Blenkinsop 2023-11-13 15:29:02 UTC
Nice work everyone!

Pushed to oldstable for 22.11.x