Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #872
How to test
You can verify that filtering by issues in this localhost page is working properly, while staging page is showing the problems cited in the issue (issues list not showing all issues, filtering by the unlisted issues through the modal causing errors, etc.)
Known issues
While testing this I found out a seemingly unrelated problem with this task, where filtering by an issue will always return the "jobs" (boots/builds/tests) with the latest version instead of the selected version of the issue. This is in more detail in this issue:
UPDATE: It seems that this issue was caused by how the Django ORM was performing the JOIN in the issues table instead of by the filtering system. This was solved in this PR and I'll close this issue as well when this PR is merged
Visual Reference
Before
![image](https://private-user-images.githubusercontent.com/53281123/411654880-910fc8d9-ad20-4bca-aeb4-781866b84ecf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDIzMDAsIm5iZiI6MTczOTMwMjAwMCwicGF0aCI6Ii81MzI4MTEyMy80MTE2NTQ4ODAtOTEwZmM4ZDktYWQyMC00YmNhLWFlYjQtNzgxODY2Yjg0ZWNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE5MjY0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViNGU2YTJlOTFjODAwNWUxYTNhM2M4MzExZWRjMjg3MDI4NGViZWExOGQ2OTM3YjE0MGFhZmRiOGRmZWVlY2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.7zUJqWiRl1wNrVy1blBV_Z7w0WGktIOCZtE8QBDFP9s)
After
![image](https://private-user-images.githubusercontent.com/53281123/411654950-2c94743a-1fc3-4dd0-8a69-24520f01f989.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDIzMDAsIm5iZiI6MTczOTMwMjAwMCwicGF0aCI6Ii81MzI4MTEyMy80MTE2NTQ5NTAtMmM5NDc0M2EtMWZjMy00ZGQwLThhNjktMjQ1MjBmMDFmOTg5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE5MjY0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVkNDc1Y2FhODNiNzY0NTYxOWFhZWFlYjllNTMwZGY2ZDBjNWUxZDQ4Mjc0NDg2ZDVhMWM3ZmJkN2I4NWIyZmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nXSwm1RHMJ0QMZzI1Zy0dVmpiNHlZJgJ0c3sK78e-gA)