In your JavaScript code, there's likely an issue with the asynchronous nature of the $.get calls, leading to unexpected behavior with 'test_status'.
Ensure that the second $.get executes only after the first call has successfully completed by nesting the second $.get within the first one's callback.
JavaScript's asynchronous behavior means that executing the second $.get immediately after the first doesn't guarantee the first has finished, which could lead to undefined values.
Consider using Promises or async/await for better handling of asynchronous operations if you are aiming to maintain a clean and readable code structure.
Collection
[
|
...
]