Bug 751 - the flight can't be sorted by time.
Summary: the flight can't be sorted by time.
Status: CONFIRMED
Alias: None
Product: Group 05(2022)
Classification: Unclassified
Component: database section (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- trivial
Assignee: yiweizhao4
URL:
Depends on:
Blocks:
 
Reported: 2022-11-30 19:53 HKT by yiweizhao4
Modified: 2022-11-30 19:54 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yiweizhao4 2022-11-30 19:53:46 HKT
Steps to Reproduce:
1. inFlightTest.java, run the test case testQueryByDeptPass2() 
2. we can see the order of result list.

Expected output:
The order should be sorted by time.

Actual output:
however, it is sorted by another order.
Comment 1 yiweizhao4 2022-11-30 19:54:18 HKT
Resolution:	Add the sort by time function in FlightDAO.java.