We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f84c0 commit e92b431Copy full SHA for e92b431
1 file changed
server/services/searchBASE.php
@@ -37,7 +37,11 @@ function filterEmptyString($value)
37
$post_params["lang_id"] = ["all-lang"];
38
}
39
40
-
+// ignore date filters if vis_type is set to timeline
41
+if (isset($post_params["vis_type"]) && $post_params["vis_type"] == "timeline") {
42
+ unset($params_array[array_search("exclude_date_filters", $params_array)]);
43
+ unset($post_params["exclude_date_filters"]);
44
+}
45
// check if exclude_date_filters is set and true
46
if (isset($post_params["exclude_date_filters"]) && $post_params["exclude_date_filters"] === true) {
47
// Add "today" and exclude "from" and "to" from the $params_array
0 commit comments