The view.tags list should be case-normalized to what the database records the tags' capitalization as
Current Behavior
It comes back with whatever case was provided in e.g. the URL
Possible Solution
@cached_property
def tags(self):
result = []
for tag in view.tags:
record = model.EntryTag.get(key=tag.casefold())
result.append(record.name if record else tag)
return result
Expected Behavior
The
view.tags
list should be case-normalized to what the database records the tags' capitalization asCurrent Behavior
It comes back with whatever case was provided in e.g. the URL
Possible Solution
or something
Steps to Reproduce (for bugs)
1. 2. 3. 4.
Context