Fix wrong arguments used in api for releases search.

This commit is contained in:
Darko
2015-06-08 09:29:27 +02:00
parent 8d59b44b71
commit 3e417bea5d
+2 -1
View File
@@ -141,7 +141,8 @@ switch ($function) {
if (isset($_GET['q'])) {
$relData = $releases->search(
$_GET['q'], -1, -1, -1, $categoryID, -1, -1, 0, 0, -1, -1, $offset, $limit, '', $maxAge, $catExclusions
$_GET['q'], -1, -1, -1, -1, -1, 0, 0, -1, -1, $offset, $limit, '', $maxAge, $catExclusions,
"basic", $categoryID
);
} else {
$totalRows = $releases->getBrowseCount($categoryID, $maxAge, $catExclusions);