summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--archaeological_operations/models.py2
-rw-r--r--ishtar_common/templates/ishtar/sheet_source.html1
3 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 0aeb8dee4..d04cb7f2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@ ishtar-docs
ishtar-logo
*.ignore
*.ignore.py
+*.ignore.sql
local_settings.py
fabfile.py
example_project/media
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 3a7586e59..ab6b3abac 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -517,7 +517,7 @@ class OperationSource(Source):
related_name="source")
index = models.IntegerField(verbose_name=_(u"Index"), blank=True,
null=True)
- TABLE_COLS = ['operation.year', 'operation.operation_code'] + \
+ TABLE_COLS = ['operation.year', 'operation.operation_code', 'index'] + \
Source.TABLE_COLS
SHOW_URL = 'show-operationsource'
MODIFY_URL = 'operation_source_modify'
diff --git a/ishtar_common/templates/ishtar/sheet_source.html b/ishtar_common/templates/ishtar/sheet_source.html
index ae3a67b5f..bda22ed35 100644
--- a/ishtar_common/templates/ishtar/sheet_source.html
+++ b/ishtar_common/templates/ishtar/sheet_source.html
@@ -4,6 +4,7 @@
{% block content %}
{% block general %}
{% field "Title" item.title %}
+{% field "Index" item.index %}
{% field "Source type" item.source_type %}
{% field "Format type" item.format_type %}
{% field "Scale" item.scale %}