diff options
author | Yorhel <git@yorhel.nl> | 2020-08-16 15:10:11 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-08-16 15:15:25 +0200 |
commit | b6e4d4be26284158a09baff739b2c324b1d653d3 (patch) | |
tree | 180d95780e4c87d01a7e5b1610ca22d82520f1a8 /lib/VNWeb/Discussions | |
parent | 1c23fdb2ef7acebabf069e8bb9a576805d89f1b6 (diff) |
Reports: Get rid of report_type, split vndbid/num + allow reporting reviews and comments
rtype is not necessary, the DB identifier is sufficient. The separate
type column was supposed to simplify DB lookups (but that's all
consolidated in a single function anyway, so it didn't help much) and
easy filtering depending on what mods have access to (but there is no
such filter, and even with vndbids that should be easy enough).
Converting the object ID into a vndbid + num should make it easier to
correlate reports if necessary.
Diffstat (limited to 'lib/VNWeb/Discussions')
-rw-r--r-- | lib/VNWeb/Discussions/Thread.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Discussions/Thread.pm b/lib/VNWeb/Discussions/Thread.pm index 0949309d..3712826d 100644 --- a/lib/VNWeb/Discussions/Thread.pm +++ b/lib/VNWeb/Discussions/Thread.pm @@ -119,7 +119,7 @@ sub posts_ { a_ href => "/$t->{id}.$_->{num}/edit", 'edit'; txt_ ' - '; } - a_ href => "/report/t/$t->{id}.$_->{num}", 'report'; + a_ href => "/report/$t->{id}.$_->{num}", 'report'; txt_ ' >'; }; if($_->{hidden}) { |