Closed jarun closed 6 years ago
@mosegontar could you please take a look? It seems we need to tweak prep_tag_search
to handle multiple tags separated by -
. It should also work with the following patterns:
+ - + -
and
- + - +
I think for simplification we should support just:
+ tag4
tag1 + tag2 - tag3 - tag4
- tag4
OK, I see that exclusion list can be separated by ,
however the the check for both +
and ,
comes before that and trumps it.
@rachmadaniHaryono we need test cases for the api prep_tag_search()
.
The following query gives wrong results:
The tags after the first
-
are combined together as a single tag and result 14 shows up.