]> git.koha-community.org Git - koha.git/commit
Bug 26510: Transport Cost Matrix editor doesn't show all data when HoldsQueueSkipClos...
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 22 Sep 2020 18:10:10 +0000 (14:10 -0400)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 20 Oct 2020 21:27:53 +0000 (23:27 +0200)
commita5b8547f15b866eb1a23d26c24fc7effa90dd1e0
treef47f86d9ed78a9556165f736c7bd2c4706bca5d0
parent6efd0a5704d246417d3a7b836b85a1e50437fd2a
Bug 26510: Transport Cost Matrix editor doesn't show all data when HoldsQueueSkipClosed is enabled

If HoldsQueueSkipClosed is enabled, and a library happens to be closed
on the day you edit the transport cost matrix, all the values for that
library will not show. Instead they will appear disabled, and if you
were to edit the cell and save a new value in it, it will also
'disappear' when the page is reloaded.

Test Plan:
1) Set today as a holiday for a library
2) Set HoldsQueueSkipClosed to 'open'
3) Go to the transport cost matrix editor
4) Edit a cell where the 'from' is for the closed library
5) Note the value doesn't 'save', it is still in the database though
6) Apply this patch
7) Restart all the things!
8) Reload the transport cost matrix editor
9) The value now appears correctly!

Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 26ab04a3b383f5a9c88124625f8edc1c4cf1d816)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit eab46b1758cc4749aba581469f40a8405f79fb2b)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
(cherry picked from commit af554209575a7e6f137ec1dd09f3b773c4058e9b)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
C4/HoldsQueue.pm
admin/transport-cost-matrix.pl