mirror of
https://github.com/CoreUnion/CoreShop.git
synced 2026-10-29 05:26:37 +08:00
【修复】修复小程序端商品列表页检索【标签】问题。
This commit is contained in:
@@ -218,7 +218,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(obj.labelId))
|
||||
{
|
||||
where = where.And(p => p.labelIds.Contains(obj.labelId));
|
||||
where = where.And(p => (',' + p.labelIds.Trim(',') + ',').Contains(',' + obj.labelId.Trim(',') + ','));
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(obj.searchName))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user