schmunk42 / yii2-giiant

Yii 2 Framework Code Generator Gii on Steroids
271 stars 120 forks source link

Fixed multi-table model json generation #258

Closed knightzac19 closed 5 years ago

knightzac19 commented 5 years ago

When using table* model generation the generated json files kept the * in the table name instead of their respective table name (if this was just one json file saving the multi-table format this would of been fine). I've went in and fixed the generation model's tablename and class while it's creating the JSON file data so that each JSON file created has the proper variables now to be re-used. I've also fixed the labels for the dropdown so they actually say the correct module/path that they are stored in, before it was just using the last value from a for each loop.

schmunk42 commented 5 years ago

Thank you!