Forum Discussion
VarunGrazitti
11 years agoBoss
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
11 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?
- irach158 years agoMaven
did you find how to do this?
I need it too, looking around and not able to find a simple one API call for all tkbs in specific category, all boards except one specific board.