express-admin
express-admin copied to clipboard
Incorrect query is built when primary key is not integer
I tried implementing search functionality by adding listview by following link: https://github.com/simov/express-admin-examples/blob/master/config/mysql/settings.json#L145-L156
But, the query build is incorrect by the framework as it does not add ""(quotes) over the value of primary key. for example, in the where condition of query I get sender_id=o45d45fe445erwt45 without quotes. e I I am not using integer type for primary key but varchar(32). I tried fixing it but not sure which file is relevant. Any help would be appreciated.
Hi, i'm experiencing this too.
Any change to get this bug fixed?
Thanks