use the right keys for actions

This commit is contained in:
Shish 2020-01-01 10:42:38 +00:00
parent 5b5e9d8d7a
commit 9f4abdaf79
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ class HashBanTable extends Table
new StringColumn("hash", "Hash"),
new TextColumn("reason", "Reason"),
new DateColumn("date", "Date"),
new ActionColumn("id"),
new ActionColumn("hash"),
]);
$this->order_by = ["date DESC", "id"];
$this->create_url = make_link("image_hash_ban/add");

View file

@ -17,7 +17,7 @@ class NotATagTable extends Table
$this->set_columns([
new TextColumn("tag", "Tag"),
new TextColumn("redirect", "Redirect"),
new ActionColumn("id"),
new ActionColumn("tag"),
]);
$this->order_by = ["tag", "redirect"];
$this->create_url = make_link("untag/add");