Open ftrotter opened 5 years ago
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.
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.