eallrich / checkniner

Tracking and reporting of airstrip/aircraft checkout information for pilots.
MIT License
2 stars 5 forks source link

Adhere to filters which specify an aircraft type #1

Closed eallrich closed 11 years ago

eallrich commented 11 years ago

The Aircraft Type filter field is not being used when gathering or trimming the list of airstrips/pilots. Yet the presence of the field indicates that it is possible to restrict the returned subset, so a conflict arises wherein a user can see unexpected results.

Given the following data: Pilot Foo is checked out at Airstrip Bar in Aircraft Type Alpha and at Airstrip Baz in Aircraft Type Bravo And using the following filter: Pilot Foo is 'belum selesai' at any Airstrip, limited to A/C Type Bravo

The expected result set would be: Pilot Foo, Airstrip Bar

The received result set would be: Pilot Foo, Airstrip Bar Pilot Foo, Airstrip Baz # Appears because no checkout is completed in A/C Type Alpha, and the A/C Type filter field is disregarded

eallrich commented 11 years ago

Another example using the data above, but with the following filter: Pilot Foo is "sudah selesai" at any Airstrip, limited to A/C Type Alpha

The expected result set would be: Pilot Foo, Airstrip Bar

The received result set would be: Pilot Foo, Airstrip Bar Pilot Foo, Airstrip Baz # Appears even though no checkout in A/C Type Alpha has been completed