Commit 5505d82b authored by Janur J.'s avatar Janur J.
Browse files

Added method to correctly fetch favorites

parent 8e031d19
......@@ -112,6 +112,11 @@ class iaListing extends abstractModuleFront implements iaDirectoryModule
return $rows;
}
public function getFavorites($ids)
{
return $this->get('l.id IN (' . implode(',', $ids) . ')');
}
public function coreSearch($stmt, $start, $limit, $order)
{
$stmt .= " AND l.`status` = '" . iaCore::STATUS_ACTIVE . "'";
......
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