goFrendiAsgard / No-CMS

No-CMS, A CodeIgniter Based CMS Framework
300 stars 199 forks source link

Lookup Shown Column only show id #150

Open witwall opened 8 years ago

witwall commented 8 years ago

for example, I have two tables,

When I set hello_product.brand_id as lookup row, and tried select Lookup Shown Column, only brand_id is available.

but example project works(if I create new lookup table, does not work either)

screen shot 2016-01-10 at 12 04 02 am screen shot 2016-01-10 at 12 03 46 am screen shot 2016-01-10 at 12 04 45 am
witwall commented 8 years ago

I found the issue, the role of hello_brand.name is NULL, and if I update it to empty(''), the name column will show.

goFrendiAsgard commented 8 years ago

Thank you. I'll try to inspect this futher