Closed dimasciput closed 2 months ago
@schmikloi @helendallas
You can now filter tags using OR or AND.
hi @dimasciput thanks! works properly!
@dimasciput @schmikloi I ran this but not working for me?
Original request was: if I filter for two tags, they are combined with an OR (so I get all freshwater and all limno-terrestrial); can we implment an option that we combine the tags with an AND, so that I get only those which have both tags?
I did this filter
But got all freshwater and tag 2 returned. Not only the taxa that had both tags.
@helendallas could you hard refresh first?
hmm that is my result for OR
and for AND
Weird. I did a hard refresh. and same result. I also tried @schmikloi test, and got all. I am on safari - not sure if that has anything to do with it?
@helendallas did you click apply when you change the OR to AND?
yes, I clicked Apply
Weird. I did a hard refresh. and same result. I also tried @schmikloi test, and got all. I am on safari - not sure if that has anything to do with it?
I am also on Safari
@dimasciput How do I edit tags at a global level. So there is Fresh water and Freshwater, but I can't find Fresh Water to delete. Is there a place to manage tags at a BIMS level?
@helendallas, you can go to the admin page to edit the tags at this link.
Tags are not at a global level, so different tenants can have different tags. However, in the future, when species are fetched from other tenants, their tags will also be imported.
It seems the 'fresh water' tag is added by Tim https://fada.sta.do.kartoza.com/admin/taggit/tag/65/change/.
Thanks @dimasciput Curious where all the existing tags come from?
@helendallas Tim added "fresh water" when he was showing the recent developments to us, I added "freshwater" and "limbo-terrestic" as these terms are used for FADA
Closing ticket now as working for me as well.
Dear sender,
I am attending various conferences and also will be on vacation. I will be able to respond reliably only after August 11th. In urgent cases, please feel free to send me a reminder. Thanks for your understanding!
Have a great summer! Astrid
We need to add an option to filter tags using either OR or AND logic in our application. Currently, the filtering mechanism does not support this feature.
The ticket request was created from this comment https://github.com/kartoza/django-bims/issues/3631#issuecomment-2149818590