diff --git a/pygeoapi/templates/collections/items/index.html b/pygeoapi/templates/collections/items/index.html index e2cabb827..5db56046d 100644 --- a/pygeoapi/templates/collections/items/index.html +++ b/pygeoapi/templates/collections/items/index.html @@ -33,28 +33,30 @@

{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% en {% if data['itemtype'] == 'record' %}
-
-
- - -
-
- - -
-
- - +
+
+
+ + +
+
+ + +
+
+ + +
-
-
-
- - - - +
+
+ + + + +
-
+
{% endif %} @@ -205,12 +207,12 @@

{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% en if (q) { query_string.push('q=' + encodeURIComponent(q)); } - if (datetime_begin) { + if (datetime_begin !== "") { datetime.push(datetime_begin + 'T00:00:00Z'); } else { datetime.push('..'); } - if (datetime_end) { + if (datetime_end !== "") { datetime.push(datetime_end + 'T23:59:59Z'); } else { datetime.push('..');