Commit 92759252 authored by Tobias Buckdahn's avatar Tobias Buckdahn

Fixed item-filter form display in Google Chrome

parent b6f6948c
......@@ -20,13 +20,13 @@ content:
form:
name: filter-rotations
id: items-filter
classes: form-inline justify-content-center justify-content-md-between
classes: row
fields:
-
name: filter
type: fieldset
id: filter
classes: form-inline
classes: "col-12 col-md-6 text-center text-md-left"
fields:
-
name: rotation_type
......@@ -60,7 +60,7 @@ form:
name: sorting
type: fieldset
id: sorting
classes: form-inline
classes: "col-12 col-md-6 text-center text-md-right"
fields:
-
name: order_by
......
......@@ -20,13 +20,13 @@ content:
form:
name: filter-offsets
id: items-filter
classes: form-inline justify-content-center justify-content-md-between
classes: row
fields:
-
name: filter
type: fieldset
id: filter
classes: form-inline
classes: "col-12 col-md-6 text-center text-md-left"
fields:
-
name: offset_type
......@@ -55,7 +55,7 @@ form:
name: sorting
type: fieldset
id: sorting
classes: form-inline
classes: "col-12 col-md-6 text-center text-md-right"
fields:
-
name: order_by
......
......@@ -20,13 +20,13 @@ content:
form:
name: filter-patterns
id: items-filter
classes: form-inline justify-content-center justify-content-md-between
classes: row
fields:
-
name: filter
type: fieldset
id: filter
classes: form-inline
classes: "col-12 col-md-6 text-center text-md-left"
fields:
-
name: pattern_type
......@@ -47,20 +47,20 @@ form:
classes: custom-select
options:
'all': 'All Sizes'
'1': '1 per segment'
'2': '2 per segment'
'3': '3 per segment'
'4': '4 per segment'
'5': '5 per segment'
'6': '6 per segment'
'7': '7 per segment'
'8': '8 per segment'
'1': 'repeat 1 part'
'2': 'repeat 2 parts'
'3': 'repeat 3 parts'
'4': 'repeat 4 parts'
'5': 'repeat 5 parts'
'6': 'repeat 6 parts'
'7': 'repeat 7 parts'
'8': 'repeat 8 parts'
'_9up': 'more parts'
-
name: sorting
type: fieldset
id: sorting
classes: form-inline
classes: "col-12 col-md-6 text-center text-md-right"
fields:
-
name: order_by
......
......@@ -19,13 +19,13 @@ content:
form:
name: filter-shapes
id: items-filter
classes: form-inline justify-content-center justify-content-md-between
classes: row
fields:
-
name: filter
type: fieldset
id: filter
classes: form-inline
classes: "col-12 col-md-6 text-center text-md-left"
fields:
-
name: shape_type
......@@ -42,7 +42,7 @@ form:
'2D:5': '2D.5 | Pentagon'
'2D:6': '2D.6 | Hexagon'
'2D:7': '2D.7 | Heptagon'
'2D:8': '2D.6 | Octagon'
'2D:8': '2D.8 | Octagon'
'2D:_9up': '2D.+ | Circle'
'all-2': '-----------------'
'3D': '3D | All Bodies'
......@@ -67,7 +67,7 @@ form:
name: sorting
type: fieldset
id: sorting
classes: form-inline
classes: "col-12 col-md-6 text-center text-md-right"
fields:
-
name: order_by
......@@ -107,14 +107,14 @@ form:
if shape_type == 'all' %}{%
if shape_segsize != 'all' %}{%
set filter = 'shape_segsize:' ~ shape_segsize %}{%
endif %}{%
set filter = 'shape_segsize:' ~ shape_segsize ~ '/' %}{%
endif %}{%
else %}{%
if shape_segsize == 'all' and shape_segments == 'all' %}{%
set filter = 'function:' ~ shape_type ~ '/' %}{%
else %}{%
if shape_segments != 'all' %}{%
set filter = shape_type ~ '_segments:' ~ shape_segments~ '/' %}{%
set filter = shape_type ~ '_segments:' ~ shape_segments ~ '/' %}{%
endif %}{%
if shape_segsize != 'all' %}{%
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment