====== Make Public filter to default filter ======
If you would set a filter as public view for different user, you would recognize, it wouldn't work.
=== File: /modules/CustomView/CustomView.php ===
== Search ==
} elseif ($status == CV_STATUS_PUBLIC) {
$log->debug("Entering when status=3");
if ($action == 'ListView' || $action == $module . "Ajax" || $action == 'index' || $action == 'DetailView') {
$permission = "yes";
}
else
$permission = "no";
}
== Replace with ==
} elseif ($status == CV_STATUS_PUBLIC) {
if ($action == 'ListView' || $action == $module . "Ajax" || $action == 'index' || $action == 'DetailView') {
$permission = "yes";
}
else
$permission = "no";
$permission = "yes"; // This line will be added
}