From 9044262fa1e6e63635a694fc857f6e27511ac525 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 Content-Type: text/plain; charset=utf-8 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 8f52243..3084a82 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.1.4