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

nesting like user__first_name #10

Open
shalakhin opened this issue Apr 26, 2017 · 2 comments
Open

nesting like user__first_name #10

shalakhin opened this issue Apr 26, 2017 · 2 comments
Assignees

Comments

@shalakhin
Copy link
Collaborator

@and3rson I think it would be great if

widgets = {
    'user': SearchableSelect(model='users.User',
                             search_field='email',
                             many=False, limit=10),
}

will be

widgets = {
    'user': SearchableSelect(model='users.Student',
                             search_field=['user__email', 'user__first_name', 'user__last_name'],
                             many=False, limit=10),
}

If you agree I will make it.

@shalakhin shalakhin self-assigned this Apr 26, 2017
@shalakhin shalakhin changed the title nested nesting like user__first_name Apr 26, 2017
@and3rson
Copy link
Owner

and3rson commented Apr 27, 2017

This implementation assumes #9 as well, so I think those two improvements can be joined here.

@and3rson and3rson reopened this Apr 27, 2017
@and3rson
Copy link
Owner

Hey!
Sorry for the huge delay. I've recently been busy with a lot of other stuff.
The project is currently looking for maintainers.
Please open a issue if you are willing to contribute some time to this.
Thanks!

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

2 participants