From a65f9aa3b01033534de0caebe0e2272759647694 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 25 Apr 2023 16:51:55 +0200 Subject: [PATCH] Bug 33608: Add two new circulation types in Statistics module Content-Type: text/plain; charset=utf-8 These are: item_lost and item_found. Speak for themself. Test plan: Run t/db_dependent/Stats.t Signed-off-by: Marcel de Rooy Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize --- C4/Stats.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Stats.pm b/C4/Stats.pm index f8f1aa03a8..7d67c8a18b 100644 --- a/C4/Stats.pm +++ b/C4/Stats.pm @@ -85,7 +85,7 @@ sub UpdateStats { return () if ! defined $params; # change these arrays if new types of transaction or new parameters are allowed my @allowed_keys = qw (type branch amount other itemnumber itemtype borrowernumber ccode location categorycode interface); - my @allowed_circulation_types = qw (renew issue localuse return onsite_checkout recall); + my @allowed_circulation_types = qw (renew issue localuse return onsite_checkout recall item_found item_lost); my @allowed_accounts_types = qw (writeoff payment); my @circulation_mandatory_keys = qw (type branch borrowernumber itemnumber ccode itemtype); my @accounts_mandatory_keys = qw (type branch borrowernumber amount); -- 2.30.2