Nostradongus / AGC-Print

2 stars 1 forks source link

Error in sorting of past orders #27

Closed JulCL123 closed 3 years ago

JulCL123 commented 3 years ago

Summary : In order history, some orders are not sorted from most recent to least recent. This happens when two order sets are made within 5 mins or less.

Branch : sprint2-test

Steps :

Nostradongus commented 3 years ago

hello Julian! can you please show me a screenshot of the two order sets' data in the mongodb atlas database? (assuming you are using the mongodb atlas database server one)

JulCL123 commented 3 years ago

Hello! I used the local db instead of atlas. This was tested just a while ago. In this case, BGC should be first on the list.

Capture2

Capture

Nostradongus commented 3 years ago

Thank you for the screenshots! Bug resolved!

To test if it is fixed, create new order sets as I have modified some attributes in the models of Order Set and Order.