add matchfile_index
authorAdrian Oldham <adriann@visualthought.com.au>
Fri, 15 Apr 2011 11:48:01 +0000 (21:48 +1000)
committerAdrian Oldham <adriann@visualthought.com.au>
Fri, 15 Apr 2011 11:48:01 +0000 (21:48 +1000)
site/cgi-bin/modules/BSE/UI/Search.pm

index 8525be9..62044b1 100644 (file)
@@ -224,6 +224,7 @@ sub req_search {
      
      ifMatchfiles => sub { @files },
      matchfile_count => sub { @files },
+     matchfile_index => sub { $file_index },
      iterate_matchfiles_reset => sub { $file_index = -1 },
      iterate_matchfiles => sub { ++$file_index < @files },
      matchfile =>