mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 02:24:31 +00:00
Fix similar SQL error which triggers when mentioning people in new posts
This commit is contained in:
parent
480394f3d8
commit
2e5c141724
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ class ComposeController extends Controller
|
||||||
$results = Profile::select('id','domain','username')
|
$results = Profile::select('id','domain','username')
|
||||||
->whereNotIn('id', $blocked)
|
->whereNotIn('id', $blocked)
|
||||||
->where('username','like','%'.$q.'%')
|
->where('username','like','%'.$q.'%')
|
||||||
->groupBy('domain')
|
->groupBy('id', 'domain')
|
||||||
->limit(15)
|
->limit(15)
|
||||||
->get()
|
->get()
|
||||||
->map(function($profile) {
|
->map(function($profile) {
|
||||||
|
|
Loading…
Reference in a new issue