@dosgato/api 1.7.7 → 1.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -254,7 +254,7 @@ async function processFilters(filter, tdb = db) {
|
|
|
254
254
|
INNER JOIN pagetrees ON pages.pagetreeId = pagetrees.id
|
|
255
255
|
INNER JOIN sites ON pages.siteId = sites.id
|
|
256
256
|
INNER JOIN pages_tags ON pages.id = pages_tags.pageId
|
|
257
|
-
INNER JOIN (${tagSQL}) AS filterTags ON filterTags.tag = pages_tags.tagId
|
|
257
|
+
INNER JOIN (${tagSQL}) AS filterTags ON CONVERT(filterTags.tag USING ascii) = pages_tags.tagId
|
|
258
258
|
LEFT JOIN tags ON tags.id = pages.dataId AND tags.tag = 'published'
|
|
259
259
|
${joins.size ? Array.from(joins.values()).join('\n') : ''}
|
|
260
260
|
WHERE
|