690329:1322 Fixing bugs uuid by Kimi K2.5 #05
CI / CD Pipeline / build (push) Successful in 9m32s
CI / CD Pipeline / deploy (push) Successful in 4m45s

This commit is contained in:
2026-03-29 13:22:37 +07:00
parent 06b897ec8e
commit adb20daf3d
+3 -3
View File
@@ -307,20 +307,20 @@ export class MasterService {
const internalId = await this.uuidResolver.resolveProjectId(
query.projectId
);
qb.andWhere('tag.projectId = :projectId', {
qb.andWhere('tag.project_id = :projectId', {
projectId: internalId,
});
}
if (query?.search) {
qb.andWhere(
'(tag.tagName LIKE :search OR tag.description LIKE :search)',
'(tag.tag_name LIKE :search OR tag.description LIKE :search)',
{
search: `%${query.search}%`,
}
);
}
qb.orderBy('tag.tagName', 'ASC');
qb.orderBy('tag.tag_name', 'ASC');
if (query?.page && query?.limit) {
const page = query.page;
const limit = query.limit;