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

Missing API access #54

Open
stefanheimes opened this issue Sep 21, 2016 · 2 comments
Open

Missing API access #54

stefanheimes opened this issue Sep 21, 2016 · 2 comments
Assignees
Milestone

Comments

@stefanheimes
Copy link
Member

stefanheimes commented Sep 21, 2016

Since I can get the filter options as id, I have the problem that I need the meta information from the parent table/metamodels. The current API has to less/zero points to get the information.

I need more information:
ID => To data from the parent Table
Alias => To data from the parent Tabel
or simple make the "getSelectMetaModel" public.

Or better add more functions like,

getFilterRow($id); // Return the whole information for the filter by the id,
getFilterRowByAlias($alias) // return the whole information for the filter by the alias.

This should be a basic function for all attribute. We need more access to the information.

@discordier
Copy link
Member

discordier commented Sep 23, 2016

What do you need it for? What is the use case?
Your comment is way too abstract for me to understand, please elaborate.

@zonky2 zonky2 added this to the Future milestone Feb 9, 2017
@stefanheimes
Copy link
Member Author

Sometime the filter must be more than just a name. (Thanks to the designer.) For example i create another MetaModel with the fiter options. The fields are: Name, Alias, Picture, Description, etc. Now i am using the MetaModels-Filter CE/Mod, because i don't want to rebuild the search functions by my own. But i have to make a custom template. Because the screen design tells me, i have to output the name, the picture, the dircroption etc. But i only get the key and the name.

So i ending up with another request on the same table to get the missing Meta-Inofmration to build the HTML with the image and so on.

So my idea is, that the filter options for selects and tags should return more than this, like they do it on the RAW part of the items with the SELECT_RAW or TAGS_RAW part.

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

No branches or pull requests

3 participants