Use the same method to get Genres / Types / Categories
This commit is contained in:
@@ -503,9 +503,9 @@ class NetBiblio extends WebService
|
||||
|
||||
public function ListOfTypes()
|
||||
{
|
||||
return array_filter(AudioBook::listOfTypes(), function ($t) {
|
||||
return strlen($t) > 0;
|
||||
});
|
||||
return array_map(function($g) {
|
||||
return $g['text'];
|
||||
}, AudioBook::ListOfGenres(true));
|
||||
}
|
||||
|
||||
public function InReadingBooks()
|
||||
|
||||
Reference in New Issue
Block a user