]> git.koha-community.org Git - koha.git/commit
Bug 25139: Corrections to date picker handling
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 09:16:58 +0000 (10:16 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 15 Apr 2020 07:33:07 +0000 (08:33 +0100)
commit0a1fdaf9f22016dddc1c324a62e4ff52276e9aba
tree4c766beaf9df8d2cae94c81910dd2a305f8dc085
parent0ef1e1a24ca0ecc53c81d2c1dae218004e7730b6
Bug 25139: Corrections to date picker handling

It would appear one has to format the dates in the controller rather
than in the template for input fields.. I wasn't aware of this caveat
until now.

Test plan
1/ Prior to applying patch attempt to look at previous transactions
ensuring you enter a 'to' date.
2/ Note a catastrophic failure
3/ Apply patch
4/ Look at the same date range and note you no longer get a failure but
are instead faced with the requested transactions.
5/ Signoff

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt
pos/register.pl