Print FK table title inside the current list
Opened this issue · 3 comments
I have a Block model that belongs to Page. How can I display the page title for each of my blocks? I can't seem to find it anywhere in the docs, just the case for populating dropdowns:
$mapper->belongsTo('pages')->display('title_pt');
How can I do the same in my Block list?
Anyone? This seems to be the best admin package around, but considering it's still very unstable, the lack of support isn't a very good sign ... I can't find this anywhere and it seems like a trivial thing: to print the 'name' field of my foreign-related table in my current list view.
I am having this issue at the moment. I think I have a possible solution, will send a PR as soon as possible.
I created a new PR, my previous fork was not maintainable for me because I made adjustments in the master
branch. Check my latest comments in this issue for the latest PR.
Hi @sergiocastrovale, maybe you can checkout my pull request #54. Is this what you are looking for? I think it is a proper solution.