]> git.koha-community.org Git - koha.git/commit
Bug 34444: [22.11.x] Correct handling of sort1 and sort2 values
authorNick Clemens <nick@bywatersolutions.com>
Wed, 8 May 2024 13:22:58 +0000 (13:22 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 7 Oct 2024 17:15:13 +0000 (19:15 +0200)
commit52eae4c6d56b2ca13e66e2f8958b8a873f70a5e2
tree2091f8a74a331dd59e77a98cb4ff94c91adecfaf
parentfbd93923a292d04a297caf858bd0076ba01cd45f
Bug 34444: [22.11.x] Correct handling of sort1 and sort2 values

Removed extraneous sort_1 data elements
Update selectors to use field names for statistics field
Updated code to set the value after finding the correct selector

To test:
* Make sure you have at least 2 funds with different stat settings, using AV and not
* Create a basket with an order line
* Close it and receive shipment
* Create an invoice and receive the order line
* Finish receiving

* Click "Modify fund"
* Switch fund, verify the stat fields are updated accordingly
* Change values for statistical values
* Update fund
* Edit fund again, pull downs are correct
* Change values in form and close, do not update
* Click 'Modify fund' - confrim form is filled with the saved values

Signed-off-by: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz>
(cherry picked from commit 5ce0e962d742139110bf3c8b286ad07a70ec55d4)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt