diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-25 13:39:11 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-25 13:39:11 +0200 |
| commit | ba59eb55ca89f916a64fe51ac80f51634a2c45c3 (patch) | |
| tree | a257ee17dbc673bbd045e5559144d40d37b6b244 /archaeological_context_records/models.py | |
| parent | 9f8e9e9157f23458417433eff07dc3efc5542309 (diff) | |
| download | Ishtar-ba59eb55ca89f916a64fe51ac80f51634a2c45c3.tar.bz2 Ishtar-ba59eb55ca89f916a64fe51ac80f51634a2c45c3.zip | |
Fix conversion to string for display of OA number (refs #1317)
Diffstat (limited to 'archaeological_context_records/models.py')
| -rw-r--r-- | archaeological_context_records/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index c6d8ec023..57c95c3b6 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -155,7 +155,7 @@ class ContextRecord(BaseHistorizedItem, OwnPerms): def _real_label(self): if not self.operation.code_patriarche: return - return settings.JOINT.join((self.operation.code_patriarche, + return settings.JOINT.join((unicode(self.operation.code_patriarche), self.label)) def _temp_label(self): |
