mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update AdminController, fix custom emoji domain search on postgres. Closes #4333
This commit is contained in:
parent
96d4486abb
commit
3dac45f388
1 changed files with 3 additions and 1 deletions
|
@ -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