mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-25 14:00:46 +00:00
Merge pull request #2381 from pixelfed/staging
Update DiscoverController, fixes #2378
This commit is contained in:
commit
11dc496926
2 changed files with 2 additions and 1 deletions
|
@ -86,6 +86,7 @@
|
||||||
- Updated Hashtag.vue, add nsfw toggle. Fixes ([#2225](https://github.com/pixelfed/pixelfed/issues/2225)). ([e5aa506c](https://github.com/pixelfed/pixelfed/commit/e5aa506c))
|
- Updated Hashtag.vue, add nsfw toggle. Fixes ([#2225](https://github.com/pixelfed/pixelfed/issues/2225)). ([e5aa506c](https://github.com/pixelfed/pixelfed/commit/e5aa506c))
|
||||||
- Updated Timeline.vue, move compose button. ([9cad8f77](https://github.com/pixelfed/pixelfed/commit/9cad8f77))
|
- Updated Timeline.vue, move compose button. ([9cad8f77](https://github.com/pixelfed/pixelfed/commit/9cad8f77))
|
||||||
- Updated status embed, allow photo albums. Fixes ([#2374](https://github.com/pixelfed/pixelfed/issues/2374)). ([d11fac0d](https://github.com/pixelfed/pixelfed/commit/d11fac0d))
|
- Updated status embed, allow photo albums. Fixes ([#2374](https://github.com/pixelfed/pixelfed/issues/2374)). ([d11fac0d](https://github.com/pixelfed/pixelfed/commit/d11fac0d))
|
||||||
|
- Updated DiscoverController, fixes ([#2378](https://github.com/pixelfed/pixelfed/issues/2378)). ([8e7f4f9d](https://github.com/pixelfed/pixelfed/commit/8e7f4f9d))
|
||||||
|
|
||||||
## [v0.10.9 (2020-04-17)](https://github.com/pixelfed/pixelfed/compare/v0.10.8...v0.10.9)
|
## [v0.10.9 (2020-04-17)](https://github.com/pixelfed/pixelfed/compare/v0.10.8...v0.10.9)
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -118,7 +118,7 @@ class DiscoverController extends Controller
|
||||||
abort_if(!config('instance.discover.tags.is_public') && !$auth, 403);
|
abort_if(!config('instance.discover.tags.is_public') && !$auth, 403);
|
||||||
|
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'hashtag' => 'required|alphanum|min:1|max:124',
|
'hashtag' => 'required|string|min:1|max:124',
|
||||||
'page' => 'nullable|integer|min:1|max:' . ($auth ? 29 : 10)
|
'page' => 'nullable|integer|min:1|max:' . ($auth ? 29 : 10)
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue