search.php: fix series results displaying all entries for a given series instead of using the search terms for a given series
--- 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&$terms'>$scount "._SERIES."</a>";
+ if($scount > 0) $otherresults[] = "<a href='browse.php?type=series&searchtype=$searchtype&$terms'>$scount "._SERIES."</a>";
}
$codeblocks = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_codeblocks WHERE code_type = 'otherresults'");
while($code = dbassoc($codeblocks)) {