diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-08-01 11:50:58 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-08-01 11:50:58 +0200 | 
| commit | 980347b02096e989159478bd29c4c2e6a59ce44e (patch) | |
| tree | 547209187b30a8bb9f587f7c8d139f66518ac33d | |
| parent | 84274c3237dfaed5771e2679cbd50de3a75bc2e8 (diff) | |
| download | Ishtar-980347b02096e989159478bd29c4c2e6a59ce44e.tar.bz2 Ishtar-980347b02096e989159478bd29c4c2e6a59ce44e.zip | |
Find basket: add denomination to basket items
| -rw-r--r-- | archaeological_finds/models_finds.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 0658496d6..1a3a93dcd 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -1690,7 +1690,8 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem,      @property      def full_label(self):          lbl = u" - ".join([getattr(self, attr) -                           for attr in ('label', 'administrative_index') +                           for attr in ( +                               'label', 'denomination', 'administrative_index')                             if getattr(self, attr)])          base = u" - ".join([base_find.complete_id()                              for base_find in self.base_finds.all()]) | 
