diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-26 19:21:31 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-26 19:21:31 +0200 |
| commit | c07a65eab011f364f2cf24e49787b152385979c9 (patch) | |
| tree | 051dad3c26c1372fcb13fcd1e9d8978d0c30254c /archaeological_context_records/views.py | |
| parent | c08f9930d6d0a8b7ffc539aefc3fcabee3e0d942 (diff) | |
| download | Ishtar-c07a65eab011f364f2cf24e49787b152385979c9.tar.bz2 Ishtar-c07a65eab011f364f2cf24e49787b152385979c9.zip | |
Improve context record search (refs #362)
Diffstat (limited to 'archaeological_context_records/views.py')
| -rw-r--r-- | archaeological_context_records/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_context_records/views.py b/archaeological_context_records/views.py index c59446bcf..36af392a1 100644 --- a/archaeological_context_records/views.py +++ b/archaeological_context_records/views.py @@ -30,6 +30,8 @@ get_contextrecord = get_item(models.ContextRecord, 'get_contextrecord', 'contextrecord', extra_request_keys={'parcel__town':'parcel__town__pk', 'operation__year':'operation__year__contains', + 'operation__code_patriarche':'operation__code_patriarche', + 'operation__operation_code':'operation__operation_code', 'datings__period':'datings__period__pk', 'parcel_0':'operation__parcels__section', 'parcel_1':'operation__parcels__parcel_number', |
