]> git.koha-community.org Git - koha.git/commit
Bug 34444: Correct handling of sort1 and sort2 values
authorNick Clemens <nick@bywatersolutions.com>
Wed, 8 May 2024 13:22:58 +0000 (13:22 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 17 Jul 2024 13:04:37 +0000 (15:04 +0200)
commit060986c01c12e6f8365e75eefebfee8689b50f9f
treeacfc60ce3506346580ff7e7e5414edbcf7cc2251
parent70dec94dfca602fbcb796c425a4cb2d97df60dc3
Bug 34444: 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: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 596d6b74eaa38e2adb6f6540f0d5b7b26d000c11)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 572ce3af4aaad54036297e67d659a74900c36131)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt