From 457cd721101af0a780eeba189506a139a388d2da 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 --- 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