Author can now be searched by sort or by name (Carroll, Lewis or Lewis Carroll will work). fix #155
This commit is contained in:
parent
d45bbb7ff6
commit
15e78a852a
3 changed files with 42 additions and 1 deletions
2
base.php
2
base.php
|
@ -801,7 +801,7 @@ class PageQueryResult extends Page
|
|||
$array = Book::getBooksByStartingLetter ('%' . $this->query, $n, NULL, $numberPerPage);
|
||||
break;
|
||||
case self::SCOPE_AUTHOR :
|
||||
$array = Author::getAuthorsByStartingLetter ('%' . $this->query);
|
||||
$array = Author::getAuthorsForSearch ('%' . $this->query);
|
||||
break;
|
||||
case self::SCOPE_SERIES :
|
||||
$array = Serie::getAllSeriesByQuery ($this->query);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue