diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 5d034974d..6b4959496 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -246,6 +246,10 @@ class ValueGetter(object):              values[prefix + "documents"] = [                  doc.get_values(no_values=True) for doc in self.documents.all()              ] +        if not filtr or prefix + "images" in filtr: +            values[prefix + "images"] = [ +                image.get_values(no_values=True) for image in self.images.all() +            ]          if filtr and prefix + "main_image" not in filtr:              return values          if ( | 
