]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Fix date filter on status schedule page
authorMarcin Haba <marcin.haba@bacula.pl>
Wed, 30 Sep 2020 04:14:35 +0000 (06:14 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Wed, 30 Sep 2020 04:14:35 +0000 (06:14 +0200)
gui/baculum/protected/Web/JavaScript/misc.js

index e1a1e631dbba8e7e5a275b7ae815cea5e01d1e09..1ab9758dce9cb89d2c7763c4d54dfdd785bea2e8 100644 (file)
@@ -308,7 +308,7 @@ function render_date(data, type, row) {
 
 function render_date_ts(data, type, row) {
        var t;
-       if (type == 'display') {
+       if (type == 'display' || type == 'filter') {
                t = Units.format_date(data)
        } else {
                t = data;