Forum Discussion
VarunGrazitti
Boss
ronaksomani - Try this instead, you dont need to use V2 for this, simple if condition can do this.
<#if boardID != "exclude_board">
//run you query here
SELECT * FROM messages WHERE board.id = 'boardID'
</#if>
ronaksomani
10 years agoMentor
VarunGrazitti : Can I pass list of board-ids to that if condition? As my requirement is to filter all those posts which have mentioned board-ids. Here I can have multiple board-ids which I want to filter.
Related Content
- 5 months ago
- 2 years ago
- 2 years ago