Skip to content

Commit

Permalink
remove order of posts/geojson
Browse files Browse the repository at this point in the history
  • Loading branch information
Mh-Asmi committed Apr 25, 2024
1 parent 1c68a4a commit 8712d86
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ public function getPostsGeoJson(
PostSearchFields $search_fields
) {
$query = $this->getGeoJsonQuery($search_fields);
$query->skip($paging->getSkip())
->orderBy($paging->getOrderBy(), $paging->getOrder());
$query->skip($paging->getSkip());
// ->orderBy('posts.'.$paging->getOrderBy(), $paging->getOrder());
return $query->paginate($paging->getLimit());
}

Expand Down

0 comments on commit 8712d86

Please sign in to comment.