Changing the number of book per pages changed the search with multiple database. Reported by At-Libitum. fix #124

This commit is contained in:
Sébastien Lucas 2013-12-07 21:17:38 +01:00
parent e9620c977a
commit 002c7596ea
3 changed files with 18 additions and 3 deletions

View file

@ -553,8 +553,8 @@ where data.book = books.id and data.id = ?');
return NULL;
}
public static function getBooksByQuery($query, $n, $database = NULL) {
return self::getEntryArray (self::SQL_BOOKS_QUERY, $query, $n, $database);
public static function getBooksByQuery($query, $n, $database = NULL, $numberPerPage = NULL) {
return self::getEntryArray (self::SQL_BOOKS_QUERY, $query, $n, $database, $numberPerPage);
}
public static function getBooks($n) {