display pseudo-deleted content

This commit is contained in:
KVAZAR 2022-04-28 12:11:41 +03:00 committed by GitHub
parent 3e7ae1289e
commit 58815af72d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ class MySQL {
WHERE `namespace`.`hash` = ?
AND `data`.`ns` = "1"
AND `data`.`deleted` = "0"
-- AND `data`.`deleted` = "0" --
ORDER BY `data`.`blockId` DESC
@ -63,7 +63,7 @@ class MySQL {
WHERE `data`.`txid` = ?
AND `data`.`ns` = "0"
AND `data`.`deleted` = "0"
-- AND `data`.`deleted` = "0" --
ORDER BY `block`.`blockId` DESC
@ -86,7 +86,7 @@ class MySQL {
WHERE `namespace`.`hash` = ?
AND `data`.`ns` = "0"
AND `data`.`deleted` = "0"
-- AND `data`.`deleted` = "0" --
ORDER BY `block`.`blockId` DESC
@ -114,7 +114,7 @@ class MySQL {
OR `data`.`txid` LIKE :search)
AND `data`.`ns` = "0"
AND `data`.`deleted` = "0"
-- AND `data`.`deleted` = "0" --
ORDER BY `block`.`blockId` DESC
@ -138,7 +138,7 @@ class MySQL {
JOIN `namespace` ON (`namespace`.`nameSpaceId` = `data`.`nameSpaceId`)
WHERE `data`.`ns` = "0"
AND `data`.`deleted` = "0"
-- AND `data`.`deleted` = "0" --
ORDER BY `block`.`blockId` DESC