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

<relationname>__<fieldname> syntax for order_by in queries #327

Closed
rikrd opened this issue Jun 25, 2014 · 3 comments
Closed

<relationname>__<fieldname> syntax for order_by in queries #327

rikrd opened this issue Jun 25, 2014 · 3 comments

Comments

@rikrd
Copy link

@rikrd rikrd commented Jun 25, 2014

In the case of the filters of a query we can impose conditions on relationships by doing this:

__

https://flask-restless.readthedocs.org/en/latest/searchformat.html#queryformat

I was wondering if something similar could be done for the case of order_by. If for instance we would want to sort the results by computers__manufacturer

@jfinkels jfinkels changed the title [enhancement] <relationname>__<fieldname> syntax for order_by in queries <relationname>__<fieldname> syntax for order_by in queries Jul 15, 2014
@jfinkels
Copy link
Owner

@jfinkels jfinkels commented Jul 15, 2014

I suppose this is reasonable.

Loading

@rcomblen
Copy link

@rcomblen rcomblen commented Jan 29, 2015

+1, we miss that feature.

Loading

rcomblen pushed a commit to rcomblen/flask-restless that referenced this issue Jan 29, 2015
 - Solving issue jfinkels#327
rcomblen pushed a commit to rcomblen/flask-restless that referenced this issue Jan 29, 2015
 - Solving issue jfinkels#327
@jfinkels
Copy link
Owner

@jfinkels jfinkels commented Jan 31, 2015

Fixed by #327.

Loading

@jfinkels jfinkels closed this Jan 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants