### Eclipse Workspace Patch 1.0 #P 7.4 Index: server/Slim/Control/Queries.pm =================================================================== --- server/Slim/Control/Queries.pm (revision 25018) +++ server/Slim/Control/Queries.pm (working copy) @@ -758,11 +758,15 @@ # Only show VA item if there are any $count_va = Slim::Schema->rs('Album')->search($where_va, $attr_va)->count; - # fix the index and counts if we have to include VA - $totalCount = _fixCount($count_va, \$index, \$quantity, $count); - # don't add the VA item on subsequent queries $count_va = ($count_va && !$index); + + # fix the index and counts if we have to include VA + if ($count_va) { + $count++; + $totalCount++; + $quantity--; + } } # now build the result