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

Integer field picked up as linking id even thought it does not end in _id #41

Open
ftrotter opened this issue Dec 4, 2018 · 0 comments

Comments

@ftrotter
Copy link
Contributor

ftrotter commented Dec 4, 2018

So the logic should be that is_linked_key will be false unless the field ends in _id.
(or perhaps when an actual foreign key exists).

But on statuspresent https://github.com/ftrotter/newstatuspresent/

the 'presentorder' integer 11 field is being treated like an ID.

Of course there is no table to link to and this causes the front-end to have a "select2" drop down for what should just be a number field.

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

No branches or pull requests

1 participant