怎么让搜索列表标签只搜索指定栏目和子栏目的结果
https://www.xunruicms.com/doc/127.html
搜索列表标签怎么限定只搜索指定栏目的结果呢?看教程里好像没有提到,参考页面里的栏目筛选会在链接上额外加参数{Router::search_url($params, 'catid', $t.id)},有没有不用加catid参数,直接限定的方法?
{search module=MOD_DIR id=$searchid total=$sototal order=inputtime_desc catid=7 page=1 pagesize=5 urlrule=$urlrule}
试着修改search标签里的catid,给一个固定栏目id,但搜索还是会出现其他栏目的结果。