]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge remote-tracking branch 'upstream/master'
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 31 Jul 2022 17:20:21 +0000 (19:20 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 31 Jul 2022 17:20:21 +0000 (19:20 +0200)
1  2 
lib-php/Geocode.php

diff --combined lib-php/Geocode.php
index 85d871f0d039f1b37072901f1ae09ae0650d9c64,9e3b0b92fbc47638dd4ff4227a45b9617a9c2a6c..978ca679010ec5b9c6e5c166d2507ed3916865b4
@@@ -190,7 -190,7 +190,7 @@@ class Geocod
  
          $this->bFallback = $oParams->getBool('fallback', $this->bFallback);
  
-         // List of excluded Place IDs - used for more acurate pageing
+         // List of excluded Place IDs - used for more accurate pageing
          $sExcluded = $oParams->getStringList('exclude_place_ids');
          if ($sExcluded) {
              foreach ($sExcluded as $iExcludedPlaceID) {
                          }
                      }
  
 -                    if ($iQueryLoop > 20) {
 +                    if ($iQueryLoop > 30) {
                          break;
                      }
                  }
                      $aResults = $tempIDs;
                  }
  
 -                if (!empty($aResults) || $iGroupLoop > 4 || $iQueryLoop > 30) {
 +                if (!empty($aResults) || $iGroupLoop > 6 || $iQueryLoop > 40) {
                      break;
                  }
              }