report number of items returned from sort
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 19 Jun 2010 16:41:21 +0000 (18:41 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 19 Jun 2010 16:41:21 +0000 (18:41 +0200)
lib/MojoFacets/Data.pm

index 8a52a85..71a476f 100644 (file)
@@ -560,7 +560,7 @@ sub items {
 
                my $path_filters = $loaded->{$path}->{filters};
 
-               warn "create combined filter for $all_filters\n";
+               warn "create combined filter for $all_filters from ", $#$sorted + 1, " items\n";
 
                my @filtered;
                foreach my $i ( 0 .. $#$sorted ) {