making an "And" block in the front-end with two things which will yield no result together (e.g. artist X AND song Y which is not by that artist).
OR that block with something else.
Suddenly, all results appear as if all the individual elements were ORed.
Likely there is something wrong with how we build the Knex query.
Also, there should be better tests to prevent regressions on this kind of stuff.
Version: fb4439dec93e043f65ff75626edb236322b3a845
Try:
- making an "And" block in the front-end with two things which will yield no result together (e.g. artist X AND song Y which is not by that artist).
- OR that block with something else.
- Suddenly, all results appear as if all the individual elements were ORed.
Likely there is something wrong with how we build the Knex query.
Also, there should be better tests to prevent regressions on this kind of stuff.
Version:
fb4439dec9
Try:
Likely there is something wrong with how we build the Knex query.
Also, there should be better tests to prevent regressions on this kind of stuff.