Filter-view: logical "OR" for tags: find "... where tag=tag1 or tag=tag2 or ...." ?
perhaps if "," inbetween tags in the text fields means AND then " " could be used for OR, such as {{{peter,harbor,night peter,crete}}} would filter pictures with either (peter AND harbor and NIGHT) or (peter AND crete) ?
a good idea but i donot want to change the semantic from
- currently " " means "and" to
- " " means "or" which destroys the saved filteres
maybe sorounding with "(..)" changes from "and" to "or". not intuiltive but backwards compatible. any idea how to make it more intuitive?
As a workaround for you can create the filter with "and", save as album file and edit the album file with a texteditor and replace the text with "or"
if somebody wants to implement this
it should be doable without knowing how the whole app works.
just start with unit tests in
- de.k3b.android.androFotoFinder.tagDB.TagSqlQueryParserTests for the sql part and
- de.k3b.io.GalleryFilterParameterTest for (de-)serialisation
If the space char is already taken, could "||" work?