derpibooru / philomena

Next-generation imageboard

Home Page:https://derpibooru.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uploader_id:value won't work in complex spoiler filter but does work in complex hide filter.

HushedFox opened this issue · comments

Describe the bug
Using uploader_id:value for complex spoiler filter does nothing and images by that uploader (that has id equal to that value) are not spoilered. If the same uploader_id:value query is added to complex hide filter instead of complex spoiler then it works and images by that uploader are hidden, but if you would open such image directly anyway with that filter turned on then it will show up straight away instead of displaying this:
image
It just displays the image.

To Reproduce
Steps to reproduce the behavior:

  1. Go to filters https://derpibooru.org/filters
  2. Create a new complex filter that spoilers uploader_id:value and put value equal to ID of some uploader that has their uploads on the main page at the moment of testing
  3. Use that new filter and check main page, see that pictures of this uploader are still displayed
  4. Open one of the pictures of this uploader in another tab for later
  5. Change the filter to have that uploader_id:value in complex hide instead of complex spoiler
  6. Refresh main page again, see that image by that uploader are missing.
  7. Go to the tab from step 5. and refresh it with the modified filter enabled.
  8. See that the image is visible straight away even though it should be spoilered because of the filter

Expected behavior
Filters that have uploader_id:value in their complex spoiler should behave like with any other tag.

Additional context
The same issue is on Furbooru