Skip to content

bugfix/1675-locations-endpoint-returning-empty-list#1702

Merged
Enovotny merged 4 commits into
developfrom
bugfix/1675-locations-endpoint-returning-empty-list
Apr 23, 2026
Merged

bugfix/1675-locations-endpoint-returning-empty-list#1702
Enovotny merged 4 commits into
developfrom
bugfix/1675-locations-endpoint-returning-empty-list

Conversation

@Enovotny
Copy link
Copy Markdown
Collaborator

The getLocations() method was always returning an empty list when no datum parameter was provided. The code created an empty finalizedResults list and only populated it when datum was not null, then always returned finalizedResults. Instead, return the fetched results directly when datum is null/blank, and only perform datum conversion when necessary.

@Enovotny Enovotny linked an issue Apr 21, 2026 that may be closed by this pull request
@Enovotny Enovotny requested a review from MikeNeilson April 22, 2026 15:00
@Enovotny Enovotny changed the title fix get locations endpoint when no vertical datum is entered bugfix/1675-locations-endpoint-returning-empty-list Apr 22, 2026
@Enovotny Enovotny merged commit 8ffecfa into develop Apr 23, 2026
10 checks passed
@Enovotny Enovotny deleted the bugfix/1675-locations-endpoint-returning-empty-list branch April 23, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Locations Endpoint returning empty list 2026.04.02-test

2 participants