부모
8d07e6d12f
커밋
23fcc4d641
2개의 변경된 파일과 4개의 추가작업 그리고 4개의 파일을 삭제
|
@ -47,10 +47,10 @@ class Author extends Base {
|
|||
}
|
||||
|
||||
public static function getAllAuthorsByFirstLetter() {
|
||||
$result = parent::getDb ()->query('select substr (upper (sort), 1, 1) as title, count(*) as count
|
||||
list (, $result) = parent::executeQuery ("select {0}
|
||||
from authors
|
||||
group by substr (upper (sort), 1, 1)
|
||||
order by substr (upper (sort), 1, 1)');
|
||||
order by substr (upper (sort), 1, 1)", "substr (upper (sort), 1, 1) as title, count(*) as count", "", array (), -1);
|
||||
$entryArray = array();
|
||||
while ($post = $result->fetchObject ())
|
||||
{
|
||||
|
|
4
book.php
4
book.php
|
@ -539,10 +539,10 @@ where data.book = books.id and data.id = ?');
|
|||
}
|
||||
|
||||
public static function getAllBooks() {
|
||||
$result = parent::getDb ()->query("select substr (upper (sort), 1, 1) as title, count(*) as count
|
||||
list (, $result) = parent::executeQuery ("select {0}
|
||||
from books
|
||||
group by substr (upper (sort), 1, 1)
|
||||
order by substr (upper (sort), 1, 1)");
|
||||
order by substr (upper (sort), 1, 1)", "substr (upper (sort), 1, 1) as title, count(*) as count", self::getFilterString (), array (), -1);
|
||||
$entryArray = array();
|
||||
while ($post = $result->fetchObject ())
|
||||
{
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue