Commit ba8b58ab authored by Janur J.'s avatar Janur J.
Browse files

Bugfix: searching by categories

parent 335ee115
......@@ -47,7 +47,7 @@ class iaCategory extends iaAbstractFrontHelperCategoryFlat
public function coreSearch($stmt, $start, $limit, $order)
$rows = $this->getAll(iaDb::STMT_CALC_FOUND_ROWS . ' ' . $stmt, null, $start, $limit);
$rows = $this->getAll($stmt, iaDb::STMT_CALC_FOUND_ROWS . $stmt, $start, $limit);
$count = $this->getFoundRows();
return [$count, $rows];
{if !empty($listings)}
<div class="ia-items">
{foreach $listings as $listing}
<p><a href="{$}">{$listing.title|escape} ({$listing.num_all_listings})</p>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment