ported search.php & tools to lib2, and ...
- fixed logentry sorting for logs with identical date - fixed ä etc. display in short descriptions on search results page - try to select a matching language for the short descriptions - added some translations - hide download and map links if no search results (updates #235) - nicer display of selectlocid page - use site-dependent urls in GPX, LOC, TXT and KML - unified XML encoding, now all done via two functions in lib2/util.inc.php (updates #121) - some preventive XML encoding adjustments in GPX - removed XML encoding in LOC CDATA section - improved charset conversion for OVL and OV2 output - some optimizations - discarded lots of obsolete code - disabled debug mode force_compile in OcSmarty class (performance)
This commit is contained in:
@@ -325,6 +325,12 @@
|
||||
update_triggers();
|
||||
}
|
||||
|
||||
function dbv_116() // optimize index for sorting logs
|
||||
{
|
||||
sql("ALTER TABLE `cache_logs` DROP INDEX `date`,
|
||||
ADD INDEX `date` (`cache_id`,`date`,`date_created`)");
|
||||
}
|
||||
|
||||
|
||||
// When adding new mutations, take care that they behave well if run multiple
|
||||
// times. This improves robustness of database versioning.
|
||||
|
||||
Reference in New Issue
Block a user