- {% include 'table/search/table_header.twig' with {
- 'geom_column_flag': geom_column_flag
- } only %}
+
+
+ {% if geom_column_flag %}
+
{% trans 'Function' %}
+ {% endif %}
+
{% trans 'Column' %}
+
{% trans 'Type' %}
+
{% trans 'Collation' %}
+
{% trans 'Operator' %}
+
{% trans 'Value' %}
+
+
{% if search_type == 'zoom' %}
{% include 'table/search/rows_zoom.twig' with {
diff --git a/templates/table/search/options.twig b/templates/table/search/options.twig
deleted file mode 100644
index 99ae98512624..000000000000
--- a/templates/table/search/options.twig
+++ /dev/null
@@ -1,67 +0,0 @@
-{{ Util_getDivForSliderEffect('searchoptions', 'Options'|trans) }}
-
-{# Displays columns select list for selecting distinct columns in the search #}
-
-
-{# Displays input box for custom 'Where' clause to be used in the search #}
-
-
-{# Displays option of changing default number of rows displayed per page #}
-
-
-{# Displays option for ordering search results by a column value (Asc or Desc) #}
-
-
diff --git a/templates/table/search/options_zoom.twig b/templates/table/search/options_zoom.twig
deleted file mode 100644
index 328eb4aea3e9..000000000000
--- a/templates/table/search/options_zoom.twig
+++ /dev/null
@@ -1,43 +0,0 @@
-
- {# Select options for data label #}
-
-
-
-
-
-
-
-
- {# Inputbox for changing default maximum rows to plot #}
-
-
-
-
-
-
-
-
-
diff --git a/templates/table/search/search_and_replace.twig b/templates/table/search/search_and_replace.twig
deleted file mode 100644
index 8237dd599edd..000000000000
--- a/templates/table/search/search_and_replace.twig
+++ /dev/null
@@ -1,25 +0,0 @@
-{% trans 'Find:' %}
-
-{% trans 'Replace with:' %}
-
-
-{% trans 'Column:' %}
-
-
-{% include 'checkbox.twig' with {
- 'html_field_id': 'useRegex',
- 'html_field_name': 'useRegex',
- 'label': 'Use regular expression'|trans,
- 'checked': false,
- 'onclick': false
-} only %}
diff --git a/templates/table/search/selection_form.twig b/templates/table/search/selection_form.twig
index 38061f7b3331..ab8cc25bb48b 100644
--- a/templates/table/search/selection_form.twig
+++ b/templates/table/search/selection_form.twig
@@ -21,12 +21,49 @@
'keys' : keys,
'criteria_column_names': criteria_column_names,
'criteria_column_types': criteria_column_types
- } only %}
- {% include 'table/search/options_zoom.twig' with {
- 'data_label': data_label,
- 'column_names': column_names,
- 'max_plot_limit': max_plot_limit
- } only %}
+ } only %}
+ {# Select options for data label #}
+
+
+
+
+
+
+
+
+ {# Inputbox for changing default maximum rows to plot #}
+
+
+
+
+
+
+
+
+
{% elseif search_type == 'normal' %}
@@ -57,10 +94,73 @@
- {% include 'table/search/options.twig' with {
- 'column_names': column_names,
- 'max_rows': max_rows
- } only %}
+ {{ Util_getDivForSliderEffect('searchoptions', 'Options'|trans) }}
+
+ {# Displays columns select list for selecting distinct columns in the search #}
+
+
+ {# Displays input box for custom 'Where' clause to be used in the search #}
+
+
+ {# Displays option of changing default number of rows displayed per page #}
+
+
+ {# Displays option for ordering search results by a column value (Asc or Desc) #}
+
+
{% elseif search_type == 'replace' %}
{% include 'table/search/form_tag.twig' with {
@@ -74,12 +174,30 @@
diff --git a/templates/table/search/table_header.twig b/templates/table/search/table_header.twig
deleted file mode 100644
index 4093f5bfc50f..000000000000
--- a/templates/table/search/table_header.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-
-