frappe / erpnext

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

Task Priority sorting #28997

Open Hollowiman opened 2 years ago

Hollowiman commented 2 years ago

Information about bug

Priority sorting is not working as it should. image image

Or am i missing something?

//Hollowi

Module

projects

Version

Frappe Framework: v13.17.0 (version-13) ERPNext: v13.17.0 (version-13)

Installation method

No response

Relevant log output / Stack trace / Full Error Message.

No response

sharmanakul commented 2 years ago

This is just the alphabetical sorting based on the priority. I don't think there is any other logic behind it.

Hollowiman commented 2 years ago

I see that, but these are the basic function's in project management systems to sort with that in the right order?

monolithonadmin commented 2 years ago

+1 latest, still affected Screenshot (60)

stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not had recent activity and it wasn't validated by maintainer team. It will be closed within a week if no further activity occurs.

AndreasBBS commented 1 year ago

I tried changing the options for the priority field to:

To try and fix this issue but I ran into this issue You can't set 'Options' for field Priority

Can we either:

I'll be glad to lend a hand if needed to fix this :smile:

AndreasBBS commented 1 year ago

Since we're at it can we allow changing the Timeline (Expected Start Date and Expected End Date) in Tasks from Date to Datetime? Would be awesome for Sprint planning...

simontheu commented 9 months ago

Is there a hidden sort order for this kind of thing, Im on v15 and it feels pretty basic to not order by priority

qbadev commented 2 months ago

well, there is one dirty solution, that worked fine for me. Using Administrator account I edited Doctype, adding numbers before text, as suggested by @AndreasBBS. Be aware that this solution works only until next Frappe/ERPNext update process, as changes will be overwritten. In my case, it is not an issue - no updates are planned. After changing DocType, I run some SQL queries to update values in Database.