Skip to content
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

Flights > Index / Search page not showing all available flights #1662

Closed
FatihKoz opened this issue Oct 29, 2023 · 0 comments · Fixed by #1663
Closed

Flights > Index / Search page not showing all available flights #1662

FatihKoz opened this issue Oct 29, 2023 · 0 comments · Fixed by #1663

Comments

@FatihKoz
Copy link
Contributor

When restrict aircraft to rank or restrict aircraft to type rating setting is enabled, flights without subfleet assignments are not being displayed on flight index/search page.

Version
7.0.0-dev+231027.67ef30

To Reproduce

  1. Go to admin > flights, edit a flight and remove all subfleets
  2. Go to admin > settings, enable restrict aircraft to rank (and assign some subfleets to your rank if not done already)
  3. Go to frontend > flights and check the result (the flight you removed subfleets from will not be listed)

Expected behavior
Rank / Type Rating limitation should only apply to flights with assigned subfleets. If a flight has no subfleets assigned, this simply should mean that it is open to all (as it was before)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant