Fixed default value for own_filter
This commit is contained in:
parent
0c9d60b573
commit
00f81db57e
@ -65,10 +65,10 @@ DataviewBackend.prototype.getDataview = function (mapConfigProvider, user, param
|
||||
function getDaviewQuery(dataviewDefinition, ownFilter) {
|
||||
if (ownFilter === -1) {
|
||||
return dataviewDefinition.sql.no_filters;
|
||||
} else if (ownFilter === 0) {
|
||||
return dataviewDefinition.sql.own_filter_off;
|
||||
} else if (ownFilter === 1) {
|
||||
return dataviewDefinition.sql.own_filter_on;
|
||||
} else {
|
||||
return dataviewDefinition.sql.own_filter_off;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user