- {this.renderTasDropdown()}
-
-
{I18n.t("activerecord.models.annotation.one")}
-
- this.props.mutateFilterData({
- ...this.props.filterData,
- annotationText: e.target.value,
- })
- }
- placeholder={I18n.t("results.filters.text_box_placeholder")}
- />
-
+
+
+
{I18n.t("activerecord.models.tag.other")}
+ {this.renderTagsDropdown()}
-
-
- {this.rangeFilter(
- this.props.filterData.totalMarkRange.min,
- this.props.filterData.totalMarkRange.max,
- I18n.t("results.total_mark"),
- this.onTotalMarkMinChange,
- this.onTotalMarkMaxChange
- )}
- {this.rangeFilter(
- this.props.filterData.totalExtraMarkRange.min,
- this.props.filterData.totalExtraMarkRange.max,
- I18n.t("results.total_extra_marks"),
- this.onTotalExtraMarkMinChange,
- this.onTotalExtraMarkMaxChange
- )}
+
+
{I18n.t("activerecord.models.section.one")}
+
{
+ this.props.mutateFilterData({
+ ...this.props.filterData,
+ section: selection,
+ });
+ }}
+ defaultValue={""}
+ />
+
+ {this.renderTasDropdown()}
+
+
{I18n.t("activerecord.models.annotation.one")}
+
+ this.props.mutateFilterData({
+ ...this.props.filterData,
+ annotationText: e.target.value,
+ })
+ }
+ placeholder={I18n.t("results.filters.text_box_placeholder")}
+ />
+
+
+
+
+ {this.rangeFilter(
+ this.props.filterData.totalMarkRange.min,
+ this.props.filterData.totalMarkRange.max,
+ I18n.t("results.total_mark"),
+ this.onTotalMarkMinChange,
+ this.onTotalMarkMaxChange
+ )}
+ {this.rangeFilter(
+ this.props.filterData.totalExtraMarkRange.min,
+ this.props.filterData.totalExtraMarkRange.max,
+ I18n.t("results.total_extra_marks"),
+ this.onTotalExtraMarkMinChange,
+ this.onTotalExtraMarkMaxChange
+ )}
+