mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-08 22:07:56 +00:00
index hosts with enabled status only
This commit is contained in:
parent
0b12e872a3
commit
8d102ecdf7
@ -12,7 +12,7 @@ source hostPage
|
|||||||
SELECT hostPage.hostPageId, hostPage.metaTitle, hostPage.metaDescription, hostPage.metaKeywords, hostPage.data, hostPage.uri, host.name \
|
SELECT hostPage.hostPageId, hostPage.metaTitle, hostPage.metaDescription, hostPage.metaKeywords, hostPage.data, hostPage.uri, host.name \
|
||||||
FROM hostPage \
|
FROM hostPage \
|
||||||
JOIN host ON (host.hostId = hostPage.hostId) \
|
JOIN host ON (host.hostId = hostPage.hostId) \
|
||||||
WHERE hostPage.httpCode = 200
|
WHERE host.status = '1' AND hostPage.httpCode = 200
|
||||||
|
|
||||||
sql_attr_uint = hostPageId
|
sql_attr_uint = hostPageId
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user