Closed GeoffFroh closed 1 year ago
Searches from the Irei Record admin ui list page are not working. For example, this url:
http://namesdbeditor.local/admin/names/ireirecord/?q=masuda+thomas
results in an error message:
FieldError at /admin/names/ireirecord/ Related Field got invalid lookup: icontains Request Method: GET Request URL: http://namesdbeditor.local/admin/names/ireirecord/?q=masuda+thomas Django Version: 4.1.9 Exception Type: FieldError Exception Value: Related Field got invalid lookup: icontains Exception Location: /opt/namesdb-editor/venv/names/lib/python3.9/site-packages/django/db/models/sql/query.py, line 1292, in build_lookup Raised during: django.contrib.admin.options.changelist_view Python Executable: /opt/namesdb-editor/venv/names/bin/python3 Python Version: 3.9.2 Python Path: ['/opt/namesdb-editor/src', '/opt/namesdb-editor/venv/names/bin', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/opt/namesdb-editor/venv/names/lib/python3.9/site-packages', '/opt/namesdb-editor/venv/names/lib/python3.9/site-packages/namesdb_editor-0.1.0-py3.9.egg'] Server time: Wed, 05 Jul 2023 15:52:00 -0700
Fixed in namesdb-editor develop branch commit c8c62f0.
namesdb-editor
develop
c8c62f0
Searches from the Irei Record admin ui list page are not working. For example, this url:
http://namesdbeditor.local/admin/names/ireirecord/?q=masuda+thomas
results in an error message: