diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-07 17:43:24 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-07 17:43:24 +0100 |
commit | 1706570cf1ccb38b3dc35b03f98e927f77779291 (patch) | |
tree | 9e52a411e30cf9eca07f5b5f005139a10f13552d | |
parent | cc05d8f59db768cd3deefb5424b71e3ee7511552 (diff) | |
download | Ishtar-1706570cf1ccb38b3dc35b03f98e927f77779291.tar.bz2 Ishtar-1706570cf1ccb38b3dc35b03f98e927f77779291.zip |
Force submited attribute to dynamic tables (refs #3074)
-rw-r--r-- | archaeological_finds/views.py | 4 | ||||
-rw-r--r-- | ishtar_common/templatetags/window_tables.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py index 3321b9925..afe6715a8 100644 --- a/archaeological_finds/views.py +++ b/archaeological_finds/views.py @@ -63,13 +63,13 @@ get_find = get_item( models.Find, 'get_find', 'find', reversed_bool_fields=['image__isnull'], base_request={'downstream_treatment__isnull': True}, - extra_request_keys=find_extra_keys) + extra_request_keys=find_extra_keys.copy()) get_find_for_ope = get_item( models.Find, 'get_find', 'find', reversed_bool_fields=['image__isnull'], base_request={'downstream_treatment__isnull': True}, - extra_request_keys=find_extra_keys, + extra_request_keys=find_extra_keys.copy(), own_table_cols=models.Find.TABLE_COLS_FOR_OPE) show_findsource = show_item(models.FindSource, 'findsource') diff --git a/ishtar_common/templatetags/window_tables.py b/ishtar_common/templatetags/window_tables.py index 687b2cf49..53075b20e 100644 --- a/ishtar_common/templatetags/window_tables.py +++ b/ishtar_common/templatetags/window_tables.py @@ -64,7 +64,7 @@ def dynamic_table_document(context, caption, associated_model, key, value, grid = JQueryJqGrid(None, None, model, table_cols=table_cols) source = unicode(reverse_lazy(url)) source_full = unicode(reverse_lazy(url_full)) if url_full else '' - source_attrs = '?{}={}'.format(key, value) + source_attrs = '?submited=1&{}={}'.format(key, value) if output == 'html': col_names, extra_cols = grid.get_cols() t = get_template('ishtar/blocks/window_tables/dynamic_documents.html') |