Skip to content

Commit

Permalink
Fixed #70 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
Tam committed Jan 25, 2018
1 parent bf2e67c commit 0f3f0b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
## 3.2.0 - WIP
## 3.2.0 - 2018-01-25
### Fixed
- Not #70 yet
- Fixed bug where pagination would error when querying via a map field. #70

### Improved
- Updated CraftQL support (via @markhuot)
- Updated Mapbox example to use latest API
- Improved address and lat/lng input sizing on smaller screens and in a HUD
- Removed webonyx/graphql-php dependency #71
- Improved address and lat/lng input sizing on smaller screens and in a HUD #73
- Updated Mapbox example to use latest API #74

## 3.1.3 - 2017-12-18
### Fixed
Expand Down
3 changes: 2 additions & 1 deletion src/services/MapService.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ public function modifyElementsQuery (ElementQueryInterface $query, $value)
$this->_replaceOrderBy($query);
}

if (isset($oldOrderBy))
if (array_key_exists('oldOrderBy', get_defined_vars()))
/** @noinspection PhpUndefinedVariableInspection */
$query->orderBy = $oldOrderBy;

return;
Expand Down

0 comments on commit 0f3f0b4

Please sign in to comment.