-
Notifications
You must be signed in to change notification settings - Fork 170
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
Batch lists not sorted #2108
Comments
I found and fixed the issue in the branch https://github.com/mikejmets/bika.lims/tree/BatchesSortOrder but test_LIMS-2076-cancelled-batches-visible-in-lists.py fails and I cannot work out what I did to make it fail. |
Tried to simulate test_LIMS-2076-cancelled-batches-visible-in-lists.py manually but I can't find a way to create a batch inside a client. No Add button appears on clients/client-1/batches whether I'm logged in as ritamo or labman1. Am I missing something? |
Changing the sort_on in contentFilter in batchfolder makes the test_LIMS-2076-cancelled-batches-visible-in-lists.py fail in2 places: How is this possible?
|
I think this PR is also relevant for this issue: #1908 |
Keeping long lists in mind, other to the short one we see in relatively empty installations. Like ARs, Batches should by default be listed reverse chronologically new ones at the top.
Older ones are closed and fall off the active lists
Steps to reproduce
Navigate to
https://bikalims.ridingbytes.com/clients/client-1/batches
https://bikalims.ridingbytes.com/batches
Current behavior
Batches appear random order? I think a separate issue to the other sorting issue, seen in the demo on Tuesday but actually been around for long, see https://jira.bikalabs.com/browse/LIMS-2160
I think ALS is in order, else I would've noticed
Expected behavior
By default, Batch lists should be sorted like AR lists, reverse chronologically
The text was updated successfully, but these errors were encountered: