frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
22.04k stars 7.39k forks source link

Ordering of Filter Search "Preview" List #4404

Closed monojoker closed 9 years ago

monojoker commented 9 years ago

Hi Guys,

When you begin typing into a filter on a document list screen it previews the matching results in a dropdown. Currently this dropdown lists (for example) Sales Orders in ascending order. It makes more sense to search in descending as you're typically searching for a recent document rather than wanting to see the first.

image

This would be very helpful for users who rely on this search option to quickly locate a customer order for giving status updates to customers on the phone or finding the current order(s) for a particular customer.

I also suspect it's a pretty simple change - just to set the query/result ordering from ASC to DESC? Please consider and let me know :+1:

Thanks Liam.

Devens commented 9 years ago

+1

rmehta commented 9 years ago

@monojoker this goes via the standard sorting in the form. Check Customize Form view if you have set it to ascending.

MaxMorais commented 9 years ago

@rmehta I have followed the support on this question in gitter, and It dont work using the standard behavior.

rmehta commented 9 years ago

Everything goes via the standard control.js methods. Did not see any customization.

On 01-Dec-2015, at 3:31 PM, Maxwell notifications@github.com wrote:

@rmehta https://github.com/rmehta I have followed the support on this question in gitter, and It dont work using the standard behavior.

— Reply to this email directly or view it on GitHub https://github.com/frappe/erpnext/issues/4404#issuecomment-160919934.

monojoker commented 9 years ago

Thanks everyone but @MaxMorais is correct, we have ALWAYS had the sort set to Modified&DESC which should show the last jobs first (by means of them having their workflow_state changed most recently). I have also tried setting it to name&DESC but still it doesn't affect that specific "preview search" feature. Could you look into it please @rmehta it would certainly make ad-hoc searching while on phone to customers MUCH quicker :) Thanks.

image