Topic: [Bug] Multiple source metatags cannot be properly searched

Posted under Site Bug Reports & Feature Requests

Bug overview description.
Searching with multiple source metatags will only use the last one entered, or in the event of ~source:, absolutely no results will be returned, even if the search would return results without using source: metatags.

What part(s) of the site page(s) are affected?
Posts page.

What is the expected behavior?
Posts that match every source metatag entered will be returned. Searching with ~source will return posts that match at least one of the provided strings.

What actual behavior is given instead?
Results are returned as if only the last source: metatag was entered. Searching with ~source returns no results ever.

Time of incident (if applicable).
Can you reproduce the bug every time?
What steps did you take to replicate this bug?
This can be reproduced by simply searching with two or more of any of the following: source:, -source:, and ~source:.
I discovered this bug when trying to use source:twimg -source:orig to find possible BVAS posts, being those that are directly uploaded from Twitter that don't include the "orig" extension necessary to get some of the best images.

Errors or other messages returned (if any).
No errors returned, except "No posts matched your search." if using ~source:.

Updated

If I remember correctly, the problem with this is that all posts technically have only single source which is then divided by line change in the same entry.

Thank the booru software which was designed to have only single source on all posts.

You should still be able to use wildcard with the search e.g. source:furaffinity.net*inkbunny.net will give you posts with both furaffinity and inkbunny sources, however problem is that if inkbunny source is first, then it won't show up.

Updated by anonymous

Mairo said:
If I remember correctly, the problem with this is that all posts technically have only single source which is then divided by line change in the same entry.

Thank the booru software which was designed to have only single source on all posts.

You should still be able to use wildcard with the search e.g. source:furaffinity.net*inkbunny.net will give you posts with both furaffinity and inkbunny sources, however problem is that if inkbunny source is first, then it won't show up.

Can't even fuzzy it: ~source:furaffinity.net*inkbunny.net ~source:inkbunny.net*furaffinity.net give you an error.

Updated by anonymous

Mairo said:
...do you ever read what I write?

Yeah, you can do one search or the other to find sources that include both fields, but only in the order you wrote. I was commenting that it doesn't work as fuzzies to do both at the same time.

Updated by anonymous

to be fair on the problem they brought up, I've run into an issue where I was searching for images sourced to twitter, and it would include posts with only a tumblr source, and vice versa. Like twitter and tumblr are filtered to the same grouping

Updated by anonymous

TonyCoon

Former Staff

The reason is that metatags can't currently be repeated. You can only use source: once, and if you use it again it'll just ignore the first one and use the second one instead.

Updated by anonymous

TonyLemur said:
The reason is that metatags can't currently be repeated. You can only use source: once, and if you use it again it'll just ignore the first one and use the second one instead.

If this is the case, searching cheatsheet should probably be updated with this information. Obviously, rating:safe and rating:explicit can't be put together, but there's nothing there to immediately suggest that this applies to source:, description:, or notes:.

Updated by anonymous

  • 1