diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-27 00:03:45 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-27 00:03:45 +0200 |
commit | 2f8890c102a2bcf1a764fdbec3c53f2ddaa5a961 (patch) | |
tree | 573b58d95c35f0d4f31ae0ec36b96d14124e0b84 /archaeological_context_records/views.py | |
parent | 3a62c5b92b06d11331cb8aa9add47d22c32cae31 (diff) | |
download | Ishtar-2f8890c102a2bcf1a764fdbec3c53f2ddaa5a961.tar.bz2 Ishtar-2f8890c102a2bcf1a764fdbec3c53f2ddaa5a961.zip |
Allow partial text query for context record search by ID (refs #362)
Diffstat (limited to 'archaeological_context_records/views.py')
-rw-r--r-- | archaeological_context_records/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_context_records/views.py b/archaeological_context_records/views.py index 36af392a1..8f56182ff 100644 --- a/archaeological_context_records/views.py +++ b/archaeological_context_records/views.py @@ -35,6 +35,7 @@ get_contextrecord = get_item(models.ContextRecord, 'datings__period':'datings__period__pk', 'parcel_0':'operation__parcels__section', 'parcel_1':'operation__parcels__parcel_number', + 'label':'label__icontains' },) get_contextrecordsource = get_item(models.ContextRecordSource, 'get_contextrecordsource', 'contextrecordsource', |