forked from wallabag/wallabag
new design, pagination & more
This commit is contained in:
@ -114,7 +114,7 @@ class Sqlite extends Store {
|
||||
return $entry[0];
|
||||
}
|
||||
|
||||
public function getEntriesByView($view) {
|
||||
public function getEntriesByView($view, $limit = '') {
|
||||
parent::__construct();
|
||||
|
||||
switch ($_SESSION['sort'])
|
||||
@ -152,6 +152,8 @@ class Sqlite extends Store {
|
||||
break;
|
||||
}
|
||||
|
||||
$sql .= ' ' . $limit;
|
||||
|
||||
$query = $this->executeQuery($sql, $params);
|
||||
$entries = $query->fetchAll();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user