mirror of
https://github.com/TangentFoxy/memex.git
synced 2024-11-22 04:54:23 +00:00
Fix bug with DONE : false filtering
Currently if the user filters by things that arent done, it would only show the entries that don't have a DONE flag, not those that has DONE : false. This is due to javascript not considering `'false' == false`
This commit is contained in:
parent
e50a2636a7
commit
52d9b5ea69
@ -169,7 +169,7 @@ function Wrap()
|
|||||||
{
|
{
|
||||||
tempDatabase[keys[i]] = db[keys[i]];
|
tempDatabase[keys[i]] = db[keys[i]];
|
||||||
}
|
}
|
||||||
else if (value.DONE == false)
|
else if (value.DONE == 'false')
|
||||||
{
|
{
|
||||||
tempDatabase[keys[i]] = db[keys[i]];
|
tempDatabase[keys[i]] = db[keys[i]];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user