Spiritreader/avior-nuxt

Job Manager sort order unstable

Closed this issue · 1 comments

The sort order of jobs when reassigned are not consistent with the backend sort order.

Example

Client 1:
Job A
Job B
Job C

Client 2:

Reassign B to Client 2:

Client 1:
Job A
Job C

Client 2:
Job B

Reassign B back to Client 1

Displayed in frontend:

Client 1:
Job A
Job B
Job C

Client 2:

Expected:

Client 1:
Job A
Job C
Job B

Client 2:

I assume the index isn't updated quite correctly.

I believe this has been fixed with fa3474b.
It at least needs another investigation, and if the issue still occurs the root cause might be different.

Until a new issue arises, I would consider this fixed.