refer to users by name

This commit is contained in:
Shish
2019-12-15 15:40:15 +00:00
parent d705578f79
commit 09b9901493
3 changed files with 9 additions and 9 deletions

View File

@ -33,7 +33,7 @@ class UserLinksColumn extends Column
}
public function display(array $row)
{
return A(["href"=>make_link("post/list/user_id={$row['id']}/1")], "Posts");
return A(["href"=>make_link("post/list/user={$row['name']}/1")], "Posts");
}
}