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

Feature presidecms 2565 fk field with same name as object leads to errors filtering #1404

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from

Conversation

Pixl8RusselCole
Copy link
Contributor

No description provided.

- if column does not exists in resolved object then try arguments.columnDefinition

- if column exists in both resolved object and source object then throw error
if ( !structKeyExists( cols, ListLast( key, ". ") ) ) {
cols = arguments.columnDefinitions;
} else {
if ( objName!=arguments.objectName && structKeyExists( arguments.columnDefinitions, ListLast( key, "." ) ) ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't feel right. We should be able to work with both and I think the answer is that the query param names would need to be made unique is all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants