dynamic / silverstripe-locator

SilverStripe Locator Module. Show locations on a map. Search by geoposition.
http://www.dynamicagency.com/labs/silverstripe-locator-module/
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

REFACTOR Locator - getTrigger #220

Closed jsirish closed 2 years ago

jsirish commented 4 years ago

Check if any GET vars exist, or if static $db ResultsOnLoad is true. If so, display results.

closes #219

codecov[bot] commented 4 years ago

Codecov Report

Merging #220 into master will increase coverage by 11.94%. The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff              @@
##             master     #220       +/-   ##
=============================================
+ Coverage     60.42%   72.36%   +11.94%     
- Complexity      105      106        +1     
=============================================
  Files             7        7               
  Lines           379      380        +1     
=============================================
+ Hits            229      275       +46     
+ Misses          150      105       -45
Flag Coverage Δ Complexity Δ
#php 72.36% <100%> (+11.94%) 106 <0> (+1) :arrow_up:
Impacted Files Coverage Δ Complexity Δ
src/pages/LocatorController.php 83.2% <100%> (+30.93%) 36 <0> (+1) :arrow_up:
src/pages/Locator.php 94.28% <100%> (+6.05%) 22 <0> (ø) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1de9005...757e460. Read the comment docs.