Error
I was working on the Connection Opportunity Search block and the default Lava template for the Detail Page has this code:
```
{% if DetailPage contains '?' %}
<a class="btn btn-default" href="{{ DetailPage }}&OpportunityId={{ opportunity.Id }}" role="button">More Info</a>
{% else %}
<a class="btn btn-default" href="{{ DetailPage }}?OpportunityId={{ opportunity.Id }}" role="button">More Info</a>
{% endif %}
I guess this block was from the earlier version of Rock.
I would like to request to standardize how block behaves with Page Picker, when route is selected, then route should be the returned value so it is not confusing when configuring blocks. I posted a bug report thinking that it was a bug, but I was told that some block don't behave that way and some does.
The Why?
It's always been my personal taste with URL to not show the parameter key as much as possible or when unnecessary. It makes it easier to explain and teach non-tech person without the ? or & and = which makes the url look complicated. Since Content Channel View Block or the Calendar Lava Block allow the selected route, why does the Connection Opportunity Search block won't?
Cultivate your ideas for maximum impact with these helpful submission tips that will increase the chances of your brilliant concepts becoming reality.