栏目内搜索中,按作者或录入者搜索时,搜不到东西
作者:HLM
来源:本站原创
点击数: 次
发布时间:2010年01月25日
如题,在栏目的搜索选择录入者或者作者搜索不到内容,但实际上有关联的数据。
出现问题的原因是搜索标签有误,请按照如下修改一下标签:“文章栏目内搜索”
红色部分为更新的内容,请对比修改一下
没有任何相关搜索结果! {PE.Label id="文章栏目内搜索_" titleLength="" contentLength="" linkOpenType="" fieldValue="" queryCond="SELECT TOP @pagesize * FROM PE_CommonModel CM INNER JOIN PE_U_Article UT ON (CM.ItemID = UT.ID) WHERE CM.NodeID IN () AND CM.Status = 99 AND CM.Title LIKE '%%' AND UT.Content LIKE '%%' AND UT.Author = '' AND CM.Inputer = '' AND UT.Keyword LIKE '%%' AND CM.GeneralID NOT IN ( SELECT TOP @startrow ICM.GeneralID FROM PE_CommonModel ICM INNER JOIN PE_U_Article IUT ON ICM.ItemID = IUT.ID WHERE ICM.NodeID IN () AND ICM.Status = 99 AND ICM.Title LIKE '%%' AND IUT.Content LIKE '%%' AND IUT.Author = '' AND ICM.Inputer = '' AND IUT.Keyword LIKE '%%' ORDER BY ICM.UpdateTime) ORDER BY CM.UpdateTime" queryCount="SELECT COUNT (ICM.GeneralID) FROM PE_CommonModel ICM INNER JOIN PE_U_Article IUT ON ICM.ItemID = IUT.ID WHERE ICM.NodeID IN () AND ICM.Status = 99 AND ICM.Title LIKE '%%' AND IUT.Content LIKE '%%' AND IUT.Author = '' AND ICM.Inputer = '' AND IUT.Keyword LIKE '%%' " page="true" pagesize="" urlpage="true" /} |