Commit f88c2c3d authored by Tobias Buckdahn's avatar Tobias Buckdahn

Fixed filter redirect for translations

parent 4996258a
......@@ -105,7 +105,7 @@ form:
value: Filter
process:
redirect: >-
/techs/rotations/{%
/de/techs/rotations/{%
set rotation_angle = form.value.rotation_angle %}{%
set rotation_angle = rotation_angle|slice(0,3) == 'all' ? 'all' : rotation_angle %}{%
set rotation_type = form.value.rotation_type %}{%
......
......@@ -105,7 +105,7 @@ form:
value: Filter
process:
redirect: >-
/techs/rotations/{%
/en/techs/rotations/{%
set rotation_angle = form.value.rotation_angle %}{%
set rotation_angle = rotation_angle|slice(0,3) == 'all' ? 'all' : rotation_angle %}{%
set rotation_type = form.value.rotation_type %}{%
......
......@@ -98,7 +98,7 @@ form:
value: Filter
process:
redirect: >-
/techs/offsets/{%
/de/techs/offsets/{%
set offset_length = form.value.offset_length %}{%
set offset_length = offset_length|slice(0,3) == 'all' ? 'all' : offset_length %}{%
set offset_type = form.value.offset_type %}{%
......
......@@ -98,7 +98,7 @@ form:
value: Filter
process:
redirect: >-
/techs/offsets/{%
/en/techs/offsets/{%
set offset_length = form.value.offset_length %}{%
set offset_length = offset_length|slice(0,3) == 'all' ? 'all' : offset_length %}{%
set offset_type = form.value.offset_type %}{%
......
......@@ -103,7 +103,7 @@ form:
value: Filter
process:
redirect: >-
/techs/patterns/{%
/de/techs/patterns/{%
set pattern_segsize = form.value.pattern_segsize %}{%
set pattern_segsize = pattern_segsize|slice(0,3) == 'all' ? 'all' : pattern_segsize %}{%
set pattern_type = form.value.pattern_type %}{%
......
......@@ -103,7 +103,7 @@ form:
value: Filter
process:
redirect: >-
/techs/patterns/{%
/en/techs/patterns/{%
set pattern_segsize = form.value.pattern_segsize %}{%
set pattern_segsize = pattern_segsize|slice(0,3) == 'all' ? 'all' : pattern_segsize %}{%
set pattern_type = form.value.pattern_type %}{%
......
......@@ -109,7 +109,7 @@ form:
value: Filter
process:
redirect: >-
/techs/shapes/{%
/de/techs/shapes/{%
set shape_segsize = form.value.shape_segsize %}{%
set shape_segsize = shape_segsize[:3] == 'all' ? 'all' : shape_segsize %}{%
......
......@@ -109,7 +109,7 @@ form:
value: Filter
process:
redirect: >-
/techs/shapes/{%
/en/techs/shapes/{%
set shape_segsize = form.value.shape_segsize %}{%
set shape_segsize = shape_segsize[:3] == 'all' ? 'all' : shape_segsize %}{%
......
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