Changing the number of book per pages changed the search with multiple database. Reported by At-Libitum. fix #124
This commit is contained in:
parent
e9620c977a
commit
002c7596ea
3 changed files with 18 additions and 3 deletions
4
book.php
4
book.php
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue