hide inactive new caches on all-but-Germany page (newcachesrest)

This commit is contained in:
following
2012-08-25 01:56:20 +02:00
parent c32a4b06ff
commit 583a024e94
4 changed files with 5 additions and 2 deletions

View File

@ -16,6 +16,6 @@ date commit ID change
- add and initialize cache_logs(_archived).okapi_syncbase
See installation instructions at http://code.google.com/p/opencaching-api
2012-08-24 added cache_rating.rating_date and index 'date'; must be initialized by:
2012-08-24 c32a4b06f added cache_rating.rating_date and index 'date'; must be initialized by:
UPDATE cache_rating SET rating_date = (SELECT MIN(`date`) FROM cache_logs WHERE cache_logs.cache_id=cache_rating.cache_id AND cache_logs.user_id=cache_rating.user_id AND cache_logs.type IN (1,7))
added trigger cacheRatingBeforeInsert

View File

@ -29,6 +29,7 @@
INNER JOIN `countries` ON `countries`.`short`=`caches`.`country`
LEFT JOIN `sys_trans` ON `countries`.`trans_id`=`sys_trans`.`id`
LEFT JOIN `sys_trans_text` ON `sys_trans`.`id`=`sys_trans_text`.`trans_id` AND `sys_trans_text`.`lang`='&1'
WHERE `status` = 1
ORDER BY `country_name`, `caches`.`date_created` DESC LIMIT 200",
$opt['template']['locale']);
while ($rNewCache = sql_fetch_assoc($rsNewCaches))

View File

@ -29,7 +29,8 @@
<li class="changelogitem">neue <a href="./articles.php?page=donations">Bankverbindung</a> bekanntgegeben</li>
<li class="changelogitem">übersichtlichere Darstellung von Cachemeldungen für das OC-Supportteam</li>
<li class="changelogitem">Platz für neue Caches: Beschränkung auf 65535 Listings (OCFFFF, inkl. archivierter Caches) aufgehoben</li>
<li class="changelogitem">spanische Übersetzung vervollständigt</li>
<li class="changelogitem">spanische Übersetzung vervollständigt</li>
<li class="changelogitem">inaktive Caches auch auf der <a href="./newcachesrest.php">Alle-außer-Deutschland-Seite</a> ausgeblendet</li>
</ul>
<p>Korrigiert (Bugfixes):</p>
<ul class="changelog">

View File

@ -31,6 +31,7 @@
<li class="changelogitem">better display of cache reports for the support team</li>
<li class="changelogitem">removed 65565-cache-listings-limit (OCFFFF, including archived caches)</li>
<li class="changelogitem">Completed Spanish translations</li>
<li class="changelogitem">hidden inaktive new Caches on <a href="./newcachesrest.php">All-but-Germany</a> page</li>
</ul>
<p>Fixed:</p>
<ul class="changelog">