diff options
Diffstat (limited to 'archaeological_warehouse/models.py')
| -rw-r--r-- | archaeological_warehouse/models.py | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index d36d1a83c..ae1ef5e47 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -54,7 +54,10 @@ class Warehouse(Address, DashboardFormItem, OwnPerms,      BASE_SEARCH_VECTORS = ['name', 'warehouse_type__label', "external_id",                             "town", "comment"] -    EXTRA_REQUEST_KEYS = {} +    EXTRA_REQUEST_KEYS = { +        # used by dynamic_table_documents +        "person_in_charge__pk": "person_in_charge__pk", +    }      # alternative names of fields for searches      ALT_NAMES = {          'name': SearchAltName( | 
