1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

vw_gravity should actually filter using vw_whitelist.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2019-06-16 18:52:23 +02:00
parent 01850c2128
commit 0774c4e5ca
No known key found for this signature in database
GPG Key ID: FB60471F0575164A

View File

@ -83,7 +83,7 @@ INSERT INTO info VALUES("version","1");
CREATE VIEW vw_gravity AS SELECT a.domain
FROM gravity a
WHERE a.domain NOT IN (SELECT domain from whitelist WHERE enabled == 1);
WHERE a.domain NOT IN (SELECT domain from vw_whitelist);
CREATE VIEW vw_whitelist AS SELECT a.domain
FROM whitelist a