View Issue Details

IDProjectCategoryView StatusLast Update
0002549HTML & PERLBug Report - Databasepublic2016-10-24 13:58
ReporterHinoe Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0002549: Forum: subscription filter is based on thread subscription, should be on forum subscription
DescriptionThe subscription filter for the anime forum appears to depend on the subscription status of the comments thread for the anime, rather than the forum for the anime. This is best explained by following my steps, as below:

First of all, I went to the anime forum: https://anidb.net/perl-bin/animedb.pl?show=forum&id=1

Filtering "subscription" by "unsubscribed" and "mylist status" by "in mylist" generates the following URL: https://anidb.net/perl-bin/animedb.pl?orderby=date&orderdir=&filter.subscription=2&filter.restricted=0&filter.mylist=1&filter.notification=0&filter.seen=0&filter.wishlist=0&show=forum&id=1

Among the results, there are a ton of forums I am clearly actually subscribed to, such as the one for Chii's Sweet Home: Atarashii O'uchi (https://anidb.net/a6452); I am not subscribed to its comments thread: https://anidb.net/perl-bin/animedb.pl?show=threads&id=49034

Changing the filter to "subscribed" and "in mylist" instead, I get the following URL: https://anidb.net/perl-bin/animedb.pl?orderby=date&orderdir=&filter.subscription=1&filter.restricted=0&filter.mylist=1&filter.notification=0&filter.seen=0&filter.wishlist=0&show=forum&id=1

Among the results, there are also forums I am subscribed to, such as the one for Chii's Sweet Home: Chii to Kocchi, Deau. (https://anidb.net/a8946); unlike the previous case, this time I am subscribed to the comments thread: https://anidb.net/perl-bin/animedb.pl?show=threads&id=77628

Also, summing up the amount of results from both URLs, I get fewer than the number of anime in my list, but I assume this is because some forums were never created due to lack of any threads. Anyway, if I remove the subscription filter entirely, to use only "in mylist", I get this URL: https://anidb.net/perl-bin/animedb.pl?orderby=date&orderdir=&filter.subscription=0&filter.restricted=0&filter.mylist=1&filter.notification=0&filter.seen=0&filter.wishlist=0&show=forum&id=1

This gives me the sum of the previous two URLs in terms of amount of results, and it appears to vaguely match what I'd expect, so the mylist filter on its own appears to be fine. This should rule out the mylist filter being broken. Changing that to only the "subscribed" filter, without the mylist filter at all, returns the following URL: https://anidb.net/perl-bin/animedb.pl?orderby=date&orderdir=&filter.subscription=1&filter.restricted=0&filter.mylist=0&filter.notification=0&filter.seen=0&filter.wishlist=0&show=forum&id=1

Which gives me both things I am subscribed to and things I'm definitely not subscribed to, such as the forum for Poyopoyo Kansatsu Nikki (https://anidb.net/a8679), to whose comments thread I am subscribed: https://anidb.net/perl-bin/animedb.pl?show=forum&id=75607

It is possible that any thread will do instead of necessarily the comments one. It does seem, however, clear that it's using threads (comments or any), rather than forum, as decision point, which is not the expected behavior.
TagsNo tags attached.

Activities

Hinoe

2016-10-24 13:58

reporter   ~0003901

Update: I have found that it is any thread, not just the comments one. One Piece is showing up because I'm subscribed to https://anidb.net/perl-bin/animedb.pl?show=cmt&id=55408 (which originally wasn't even in the One Piece forum).

Issue History

Date Modified Username Field Change
2016-08-27 02:47 Hinoe New Issue
2016-10-24 13:58 Hinoe Note Added: 0003901