improve FindBooks for great number by operating in chunk
This commit is contained in:
@@ -78,7 +78,7 @@ class BookSearch
|
||||
|
||||
$books = isset($results['response']['docs']) && $results['response']['docs'] ?
|
||||
array_map(function($o) { return (array) $o; }, $results['response']['docs']) :
|
||||
false;
|
||||
array();
|
||||
|
||||
return array(
|
||||
'count' => $results['response']['numFound'],
|
||||
|
||||
Reference in New Issue
Block a user