DB Repository groupBy in search method: use posts.id

in line 106 `groupBy('id')` cause an "Ambiguous column ERROR" in Postgresql, i found that change id to posts.id can fix it