PageParameter and Page Lava filters do not work in Lava-enabled Obsidian block settings #5671
Closed
2 tasks done
Labels
Fixed in v16.3
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
Description
We are heavily customizing the output of the projects in the Sign-Up Finder block. A lot of the information is powered by a persisted dataset. We need to show / hide certain projects based on a URL parameter that we can check against the persisted dataset. In setting all of this up, I found that the
PageParameter
andPage
lava filters do not work in the Results Lava Template section of the Sign-Up Finder block. When you assign a variable to the contents of a page parameter, it is an empty string.I think it's a bug because the
Debug
filter shows the page parameters like I would expect, as well as thePageParameter
object.In further testing, the filters do work correctly and output the expected value if used in an HTML Content block on the same page. So the issue seems to be isolated to the Results Lava Template of the Sign-Up Finder Obsidian block.
Actual Behavior
The
PageParameter
andPage
lava filters do not return query string / parameter info. The assigned variable ends up being blank/empty.Expected Behavior
I would expect to be able to use these filters to get a page parameter from a URL.
Steps to Reproduce
https://rock.rocksolidchurchdemo.com/signups?testingParameter=yes
)Lava Results Template
sectionPage
filter and it also did not workLava Results Template
againIssue Confirmation
Rock Version
Rock McKinley 15.1 (1.15.1.1), 16.0 (1.16.0.12)
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: