Sort tags by label. GitLab issue #342. Thanks to @gersilex for the find.
This commit is contained in:
@@ -12,6 +12,7 @@ the user links
|
||||
- New Dashboard view
|
||||
- Moved licenses to their own module in every app
|
||||
- Update project to work with Django 1.9.11
|
||||
- Tags are alphabetically ordered by label (GitLab #342).
|
||||
|
||||
2.1.5 (2016-11-08)
|
||||
==================
|
||||
|
||||
@@ -22,6 +22,7 @@ the user links
|
||||
- Dashboard
|
||||
- Moved licenses to their own module in every app
|
||||
- Update project to work with Django 1.9.11
|
||||
- Tags are alphabetically ordered by label
|
||||
|
||||
Removals
|
||||
--------
|
||||
@@ -82,5 +83,6 @@ Bugs fixed or issues closed
|
||||
|
||||
* `GitLab issue #311 <https://gitlab.com/mayan-edms/mayan-edms/issues/311>`_ acl page return ContentType:Document
|
||||
* `GitLab issue #319 <https://gitlab.com/mayan-edms/mayan-edms/issues/319>`_ TransformationResize issue with very "long" image
|
||||
* `GitLab issue #342 <https://gitlab.com/mayan-edms/mayan-edms/issues/342>`_ Tags should be of unordered / unsorted data type
|
||||
|
||||
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/
|
||||
|
||||
@@ -29,6 +29,7 @@ class Tag(models.Model):
|
||||
return reverse('tags:tag_tagged_item_list', args=(str(self.pk),))
|
||||
|
||||
class Meta:
|
||||
ordering = ('label',)
|
||||
verbose_name = _('Tag')
|
||||
verbose_name_plural = _('Tags')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user