From 8333c5407ac60869f3420c970cc6ea85edd9e6cb Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 15 Jun 2018 04:10:39 +0000 Subject: [PATCH] Bug 19915: Only show class sources in use Signed-off-by: Marcel de Rooy --- tools/inventory.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/inventory.pl b/tools/inventory.pl index 4e2f8b2e1d..1aba6d68af 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -116,7 +116,7 @@ for my $authvfield (@$statuses) { } } -my @class_sources = Koha::ClassSources->search(); +my @class_sources = Koha::ClassSources->search({ used => 1 }); my $pref_class = C4::Context->preference("DefaultClassificationSource"); -- 2.11.0