mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 08:44:49 +00:00
Merge pull request #4343 from pixelfed/staging
Update AdminController, fix custom emoji domain search on postgres. C…
This commit is contained in:
commit
6c5b93cc50
2 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
### Fixes
|
||||
- Fixed `violates check constraint "statuses_visibility_check"` bug affecting postgres instances + various api endpoints ([79b6a17e](https://github.com/pixelfed/pixelfed/commit/79b6a17e))
|
||||
- Fixed duplicate hashtags on postgres ([64059cb4](https://github.com/pixelfed/pixelfed/commit/64059cb4))
|
||||
- Fixed custom emoji domain search on postgres. Closes #4333 ([3dac45f3](https://github.com/pixelfed/pixelfed/commit/3dac45f3))
|
||||
|
||||
### Updates
|
||||
- Update ApiV1Controller, fix blocking remote accounts. Closes #4256 ([8e71e0c0](https://github.com/pixelfed/pixelfed/commit/8e71e0c0))
|
||||
|
|
|
@ -464,7 +464,9 @@ class AdminController extends Controller
|
|||
->where('shortcode', 'like', '%' . $request->input('q') . '%')
|
||||
->orWhere('domain', 'like', '%' . $request->input('q') . '%');
|
||||
if(!$request->has('dups')) {
|
||||
$q = $q->groupBy('shortcode');
|
||||
if(!$pg) {
|
||||
$q = $q->groupBy('shortcode');
|
||||
}
|
||||
}
|
||||
return $q;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue