We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 148bd44 commit 5e6a922Copy full SHA for 5e6a922
1 file changed
README.md
@@ -686,17 +686,18 @@ First of all you have to define a property in your NodeTypes.yaml for your node
686
687
Query your nodes in your Fusion:
688
```
689
-geoSorting = Neos.Fusion:DataStructure {
690
- _geo_distance = Neos.Fusion:DataStructure {
691
- latlng = Neos.Fusion:DataStructure {
692
- lat = 51.512711
693
- lon = 7.453084
694
- }
695
- order = "plane"
696
- unit = "km"
697
- distance_type = "sloppy_arc"
+ geoSorting = Neos.Fusion:DataStructure {
+ _geo_distance {
+ geopoint {
+ lat = 51.512711
+ lon = 7.453084
+ }
+ order = "asc"
+ unit = "km"
+ ignore_unmapped = true
698
699
}
-}
700
+
701
nodes = ${Search.query(site).nodeType('Vendor.Name:Retailer').sort(this.geoSorting)}
702
703
0 commit comments