diff options
-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') |