search.php: fix series results displaying all entries for a given series instead of using the search terms for a given series
search.php: fix series results displaying all entries for a given series instead of using the search terms for a given series

file:a/search.php -> file:b/search.php
--- a/search.php
+++ b/search.php
@@ -243,7 +243,7 @@
 	if(!empty($scountquery)) {
 		$seriesresults = dbquery(_SERIESCOUNT.$scountquery);
 		list($scount) = dbrow($seriesresults);
-		if($scount > 0) $otherresults[] = "<a href='browse.php?type=series&amp;$terms'>$scount "._SERIES."</a>";
+		if($scount > 0) $otherresults[] = "<a href='browse.php?type=series&amp;searchtype=$searchtype&amp;$terms'>$scount "._SERIES."</a>";
 	}
 	$codeblocks = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_codeblocks WHERE code_type = 'otherresults'");
 	while($code = dbassoc($codeblocks)) {