From 9f4abdaf79c4914d36be4f98c38fd819c920f15b Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 1 Jan 2020 10:42:38 +0000 Subject: [PATCH] use the right keys for actions --- ext/image_hash_ban/main.php | 2 +- ext/not_a_tag/main.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/image_hash_ban/main.php b/ext/image_hash_ban/main.php index 4d5820ee..0b845fb2 100644 --- a/ext/image_hash_ban/main.php +++ b/ext/image_hash_ban/main.php @@ -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"); diff --git a/ext/not_a_tag/main.php b/ext/not_a_tag/main.php index 52695e4a..e2c636a6 100644 --- a/ext/not_a_tag/main.php +++ b/ext/not_a_tag/main.php @@ -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");