diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-14 23:35:26 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-14 23:35:26 +0100 | 
| commit | c159b93724d3dcf8567f4c644d6efa9c2f8c5414 (patch) | |
| tree | e023741ed88db7f597ad9ae739f8aefb39a08778 | |
| parent | bf576b5328a87197f7ab08eb9aa303556ae51e49 (diff) | |
| download | Ishtar-c159b93724d3dcf8567f4c644d6efa9c2f8c5414.tar.bz2 Ishtar-c159b93724d3dcf8567f4c644d6efa9c2f8c5414.zip | |
Finds table: fix columns
| -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 c8903fc10..8f0270236 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -325,7 +325,7 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):      TABLE_COLS_FOR_OPE = [          'base_finds__cache_short_id',          'base_finds__cache_complete_id', -        'previous_id', 'label', 'material_types', +        'previous_id', 'label', 'material_types__label',          'datings__period__label', 'find_number', 'object_types',          'container__cached_label',          'description', @@ -334,6 +334,7 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):      COL_LABELS = {          'datings__period__label': _(u"Periods"),          'container__cached_label': _(u"Container"), +        'material_types__label': _(u"Material types"),      }      EXTRA_FULL_FIELDS = [ | 
