problem in search method - order parameter

Bug #495031 reported by dharmesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

hello,
In search method, there is parameter 'order'.
When i am trying to do 'order' on any field other than 'rec_name' i am not getting correct result because 'order' add 'rec_name' field also by default
so my query like this : select * from table_name order by rec_name,FIELD NAME;
I just want to order on my field.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello DRA,
I agree with your point.

But order parameter is for search and your aim is listing. Listing calls read() and t takes self._order.

Thank you.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

I am creating a blueprint for this issue.

Thanks.

Changed in openobject-server:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.