Has helper not working with pagination

Hi team,

According to the documentation, the following has statement should prevent {{pagination}} from rendering if there is none, and render it if there are multiple pages: {{#has any="prev, next"}}.

The any comparison will return true if any one of the properties is set in the current context, with support for paths and globals:

I also found an older example that indicates that this should work. However, the pagination never renders at all when using has.

To ensure the context has access to prev and next, I logged their values. When on the first page, I used {{log prev}} and {{log next}}, which returned 1 and null as expected.

References: