-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Currently, if you do something like get_view(category='blah', tag=view.tags) then if the current view has no tags, the view.tags will be [], which will cause no entries to match.
There are two possibilities for fixing this:
- Make
view.tagsreturnNoneif the tagset is empty - Make
get_view(tag=[])apply no tag filter
Choice 2 makes the most high-level sense, but doing that would eliminate the possibility of purposefully excluding entries that do have tags, although it isn't clear if get_view(tag=[]) currently works at all anyway.
The current workaround is to do something like
get_view(tag=view.tags or None)
which also feels super grody.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels