From 7f5602a3c36d7975f7f31698459d5e80b0287f77 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 https://bugs.koha-community.org/show_bug.cgi?id=19905 Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens (cherry picked from commit a8259c38dbe910188ece5126d226166014e001ed) Signed-off-by: Martin Renvoize --- tools/inventory.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/inventory.pl b/tools/inventory.pl index c2a105c521..eff4fe2ffc 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -118,7 +118,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.39.5