Forgot to pass the search limit var to JS

This commit is contained in:
alistair3149 2019-12-14 00:44:09 -05:00
parent 06d399ec3f
commit 0619214ada

View file

@ -44,6 +44,7 @@ class CitizenHooks {
$config = MediaWikiServices::getInstance()->getConfigFactory()
->makeConfig( 'Citizen' );
$vars['wgCitizenMaxSearchResults'] = $config->get( 'CitizenMaxSearchResults' );
$vars['wgCitizenSearchExchars'] = $config->get( 'CitizenSearchExchars' );
return true;