Bug 18882: (QA follow-up) Ensure stats with no or undef location are set to NULL...
commit8db65715fa2c769d4f2166cbb2b9c39352cfdc79
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 30 Jun 2017 14:37:14 +0000 (30 10:37 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 8 Nov 2017 16:34:37 +0000 (8 13:34 -0300)
treed5537472ad4489202712795e66b2b990a1bad9f9
parent9fd0555ae828972a7268c56a4f5e56a4a681aa2b
Bug 18882: (QA follow-up) Ensure stats with no or undef location are set to NULL in db

Confirm that only NULL or a string are in the location field of the
statistics table. Test with two items, one with shelving location set,
and one without it set.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Stats.pm
t/db_dependent/Stats.t