nusCS2113-AY1920S1 / pe-dev-response

0 stars 0 forks source link

Order: Sort status does not show completed orders when order is marked as completed #342

Open nus-pe-bot opened 5 years ago

nus-pe-bot commented 5 years ago

屏幕快照 2019-11-15 下午5.09.32.png

Completed orders seem do not show up in the sorting like what as mentioned in UG

屏幕快照 2019-11-15 下午5.12.26.png


[original: nusCS2113-AY1920S1/pe-interim#342]

liujiajun commented 5 years ago

Team's Response

Dear Tester,

We have not been able to reproduce the issue following your description.

We tried with the demo file and executed the following commands

order done 3
order sort status

The completed orders appeared as expected:

Screenshot 2019-11-17 at 11.16.16 AM.png

Regarding the issue your are facing, chances are you have accidentally filtered the orders first with order -status STATUS. In this case, only orders with the given status will be sorted. This is the intended behavior of BakingHome and it helps you to sort only a subset of orders (i.e. orders with specified status)

You can include completed orders in sorting result using the command order to display all orders before sorting.

On a side note, we have changed the severity to medium.

Hope this answers you question.

Thank you!

Duplicate status (if any):

--