[COMPONENT][FreeNetwork] Restore Galaxy feed
This commit is contained in:
@@ -14,7 +14,7 @@ class Collection extends Controller
|
||||
public function query(string $query, ?string $locale = null, ?Actor $actor = null)
|
||||
{
|
||||
$actor ??= Common::actor();
|
||||
$locale ??= $actor?->getTopLanguage()?->getLocale() ?? Common::currentLanguage()->getLocale();
|
||||
$locale ??= Common::currentLanguage()->getLocale();
|
||||
return CollectionModule::query($query, $this->int('page') ?? 1, $locale, $actor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user