Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print FK table title inside the current list #46

Open
sergiocastrovale opened this issue Dec 22, 2014 · 3 comments
Open

Print FK table title inside the current list #46

sergiocastrovale opened this issue Dec 22, 2014 · 3 comments

Comments

@sergiocastrovale
Copy link

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?

@sergiocastrovale
Copy link
Author

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.

@mrk-j
Copy link
Contributor

mrk-j commented Jan 19, 2015

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.

@mrk-j
Copy link
Contributor

mrk-j commented Jan 19, 2015

Hi @sergiocastrovale, maybe you can checkout my pull request #54. Is this what you are looking for? I think it is a proper solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants