Skip to content

Commit

Permalink
Merge pull request #2021 from pixelfed/staging
Browse files Browse the repository at this point in the history
Update PlaceController, fixes #2017
  • Loading branch information
dansup committed Feb 16, 2020
2 parents 6f96caf + c78bdad commit dcc504a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
- Updated mail panel blade view, fix markdown bug ([cbc63b04](https://github.com/pixelfed/pixelfed/commit/cbc63b04))
- Updated self-diagnosis checks ([03f808c7](https://github.com/pixelfed/pixelfed/commit/03f808c7))
- Updated DiscoverController, fixes #2009 ([b04c7170](https://github.com/pixelfed/pixelfed/commit/b04c7170))
- Updated DeleteAccountPipeline, fixes [#2016](https://github.com/pixelfed/pixelfed/issues/2016), a bug affecting account deletion.
- Updated PlaceController, fixes [#2017](https://github.com/pixelfed/pixelfed/issues/2017), a postgres bug affecting country pagination in the places directory ([dd5fa3a4](https://github.com/pixelfed/pixelfed/commit/dd5fa3a4))

## [v0.10.8 (2020-01-29)](https://github.com/pixelfed/pixelfed/compare/v0.10.7...v0.10.8)
### Added
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/PlaceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function directoryHome(Request $request)

public function directoryCities(Request $request, $country)
{
$country = urldecode($country);
$country = ucfirst(urldecode($country));
$places = Place::whereCountry($country)
->orderBy('name', 'asc')
->distinct('name')
Expand Down

0 comments on commit dcc504a

Please sign in to comment.