Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I18n_TextFields can't participate in related lookups #11800

Open
jacobtylerwalls opened this issue Feb 20, 2025 · 0 comments · May be fixed by #11801
Open

I18n_TextFields can't participate in related lookups #11800

jacobtylerwalls opened this issue Feb 20, 2025 · 0 comments · May be fixed by #11801
Assignees

Comments

@jacobtylerwalls
Copy link
Member

In [1]: from arches.app.models.models import *

In [2]: Node.objects.filter(graph__name__en__contains="Arches")
Out[2]: ---------------------------------------------------------------------------
AmbiguousColumn                           Traceback (most recent call last)
File ~/py313/lib/python3.13/site-packages/django/db/backends/utils.py:105, in CursorWrapper._execute(self, sql, params, *ignored_wrapper_args)
    104 else:
--> 105     return self.cursor.execute(sql, params)

AmbiguousColumn: column reference "name" is ambiguous
LINE 1: ...d") WHERE ("graphs"."name" -> 'en') @> (jsonb_set(name, '{en...
@jacobtylerwalls jacobtylerwalls self-assigned this Feb 20, 2025
@jacobtylerwalls jacobtylerwalls moved this to 👀 In Review in pipeline Feb 20, 2025
@jacobtylerwalls jacobtylerwalls changed the title I18n_JSONFields can't participate in related lookups I18n_TextFields can't participate in related lookups Feb 20, 2025
@jacobtylerwalls jacobtylerwalls linked a pull request Feb 20, 2025 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In Review
Development

Successfully merging a pull request may close this issue.

1 participant