You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the header, then material/plugins/tags/plugin.py line 149 in _render_tag_index errors out in the sorted(self.tags.items()) part because for some reason I was not able to figure out it did convert the key part to an int and thus python complains about the inability to compare ints and strings.
Thanks for reporting. Fixed in 1b346eb. I'm pretty sure this is a regression, as I remember to already have fixed this, but it may have got lost in an Insiders merge somehow. Regardless, numbers should work again now.
Next time, please respect the time and effort we put into supporting our users, by sticking to our bug reporting process and providing a minimal reproduction. It is absolutely mandatory per our bug reporting guidelines. Thank you.
Context
No response
Bug description
When adding a title that is only a number like:
in the header, then
material/plugins/tags/plugin.py
line 149 in_render_tag_index
errors out in thesorted(self.tags.items())
part because for some reason I was not able to figure out it did convert the key part to an int and thus python complains about the inability to compare ints and strings.Related links
Reproduction
Just add a number only as the title to any project that is using tags.
Steps to reproduce
Just add a number only as the title to any project that is using tags.
Browser
No response
Before submitting
The text was updated successfully, but these errors were encountered: