]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #385 from mtmail/query-lastupdated-only-for-html-output
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 2 Mar 2016 20:36:34 +0000 (21:36 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 2 Mar 2016 20:36:34 +0000 (21:36 +0100)
query the last updated timestamp only if output format is HTML

lib/template/details-html.php

index 404450c08919a44073699b9d03f88db29f339605..3e9e39d75c4fa31a3734ba9546a701339f6c747d 100644 (file)
                echo $keyword_token;
                if (isset($word_id))
                {
-                       echo '</td><td>('.$word_id.')';
+                       echo '</td><td>word id: '.$word_id;
                }
                echo "</td></tr>\n";
        }
                headline('Name Keywords');
                foreach($aPlaceSearchNameKeywords as $aRow)
                {
-                       _one_keyword_row($aRow['word_token']);
+                       _one_keyword_row($aRow['word_token'], $aRow['word_id']);
                }
        }