Admin/Screenshots

* do not limit screenshot sources

Search
 * display floored maps
This commit is contained in:
Sarjuuk
2017-03-26 17:17:33 +02:00
parent 1a04ee3354
commit d91090e806
2 changed files with 3 additions and 1 deletions

View File

@@ -333,7 +333,7 @@ class CommunityContent
if (!$ids)
continue;
$tClass = new Util::$typeClasses[$t](array(['id', $ids]));
$tClass = new Util::$typeClasses[$t](array(['id', $ids], CFG_SQL_LIMIT_NONE));
foreach ($pages as &$p)
if ($p['type'] == $t)
if ($tClass->getEntry($p['typeId']))

View File

@@ -193,6 +193,8 @@ class SearchPage extends GenericPage
if ($this->mode == CACHE_TYPE_NONE) // search is invalid
return;
$this->addJS('?data=zones&locale='.User::$localeId.'&t='.$_SESSION['dataKey']);
$this->performSearch();
}