diff --git a/HISTORY.rst b/HISTORY.rst index eee7472c43..a4ee134285 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -13,6 +13,8 @@ * Add stricted error checking to the crop transformation. * Update compressed files class module to work with Python 3. * Update document parsing app tests to work with Python 3. +* Handle office files in explicit binary mode for Python 3. +* Return a proper list of SearchModel instances (Python 3). 3.1.4 (2018-10-4) ================= diff --git a/mayan/apps/dynamic_search/classes.py b/mayan/apps/dynamic_search/classes.py index 47ed18ba77..390268e182 100644 --- a/mayan/apps/dynamic_search/classes.py +++ b/mayan/apps/dynamic_search/classes.py @@ -26,7 +26,7 @@ class SearchModel(object): @classmethod def all(cls): - return cls._registry.values() + return list(cls._registry.values()) @classmethod def as_choices(cls):