mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 22:00:17 +00:00
vw_gravity should actually filter using vw_whitelist.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
01850c2128
commit
0774c4e5ca
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ INSERT INTO info VALUES("version","1");
|
||||||
|
|
||||||
CREATE VIEW vw_gravity AS SELECT a.domain
|
CREATE VIEW vw_gravity AS SELECT a.domain
|
||||||
FROM gravity a
|
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
|
CREATE VIEW vw_whitelist AS SELECT a.domain
|
||||||
FROM whitelist a
|
FROM whitelist a
|
||||||
|
|
Loading…
Reference in a new issue