Forum Discussion
VarunGrazitti
Boss
ronaksomani - how long is the list of the boards to exclude? you can use or condition as below:
<#if boardID != "exclude_bd1" || boardID != "exclude_bd2" || boardID != "exclude_bd3">
</#if>
ronaksomani
10 years agoMentor
VarunGrazitti :List can have n number of board ids ranging any where from 0-25. So would perefer if there is any other solution for same. May be something like SELECT * FROM messages WHERE board.id NOT IN ('board-name'). NOT IN is part of SQL query. Is there any alternatives for this?
Related Content
- 5 months ago
- 2 years ago
- 2 years ago