format spellcheck results
This commit is contained in:
@@ -188,8 +188,8 @@ class BookSearch
|
|||||||
|
|
||||||
$spelling = array();
|
$spelling = array();
|
||||||
if(isset($results['spellcheck']['suggestions'])) {
|
if(isset($results['spellcheck']['suggestions'])) {
|
||||||
foreach($results['spellcheck']['suggestions'] as $s) {
|
foreach($results['spellcheck']['suggestions'] as $word => $s) {
|
||||||
$spelling[] = $s;
|
$spelling[$word] = $s['suggestion'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ use BSR\Lib\WebService;
|
|||||||
class NetBiblio extends WebService
|
class NetBiblio extends WebService
|
||||||
{
|
{
|
||||||
/** @var string $version version number */
|
/** @var string $version version number */
|
||||||
public static $version = '1.1.5';
|
public static $version = '1.2.0';
|
||||||
|
|
||||||
private $login = '';
|
private $login = '';
|
||||||
private $client = 'website';
|
private $client = 'website';
|
||||||
|
|||||||
Reference in New Issue
Block a user