diff --git a/oarepo_ui/theme/assets/semantic-ui/js/oarepo_ui/search/SearchAppSort.jsx b/oarepo_ui/theme/assets/semantic-ui/js/oarepo_ui/search/SearchAppSort.jsx
index 3f7b3da9..d4f1eaa9 100644
--- a/oarepo_ui/theme/assets/semantic-ui/js/oarepo_ui/search/SearchAppSort.jsx
+++ b/oarepo_ui/theme/assets/semantic-ui/js/oarepo_ui/search/SearchAppSort.jsx
@@ -3,20 +3,8 @@ import { Sort } from "react-searchkit";
import { i18next } from "@translations/oarepo_ui/i18next";
-const renderLabel = (cmp) => (
- <>
-
- {cmp}
- >
-);
-
export const SearchAppSort = ({ options }) => {
return (
-
+
);
};
diff --git a/oarepo_ui/theme/assets/semantic-ui/translations/oarepo_ui/messages/en/translations.json b/oarepo_ui/theme/assets/semantic-ui/translations/oarepo_ui/messages/en/translations.json
index 75a39a8a..ef541d7f 100644
--- a/oarepo_ui/theme/assets/semantic-ui/translations/oarepo_ui/messages/en/translations.json
+++ b/oarepo_ui/theme/assets/semantic-ui/translations/oarepo_ui/messages/en/translations.json
@@ -1,28 +1,30 @@
{
- "Remove field": "Remove field",
- "Language": "Language",
- "Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")": "Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")",
- "Add another language": "Add another language",
- "We couldn't find any matches for ": "We couldn't find any matches for ",
- "search": "search",
- "Choose": "Choose",
- "Selected records": "Selected records",
- "Something went wrong...": "Something went wrong...",
- "Search...": "Search...",
- "No results found": "No results found",
- "Loading...": "Loading...",
- "Search External Database": "Search External Database",
- "Search results from external API": "Search results from external API",
- "Draft saved with validation errors. Fields listed below that failed validation were not saved to the server": "Draft saved with validation errors. Fields listed below that failed validation were not saved to the server",
- "Draft saved successfully.": "Draft saved successfully.",
- "Draft published successfully. Redirecting to record's detail page ...": "Draft published successfully. Redirecting to record's detail page ...",
- "Draft deleted successfully. Redirecting to the main page ...": "Draft deleted successfully. Redirecting to the main page ...",
- "Start over": "Start over",
- "totalResults": "totalResults",
- "totalResults_plural": "totalResults",
- "resultsPerPage": "resultsPerPage",
- "Filters": "Filters",
- "Filter results": "Filter results",
- "Sort by": "Sort by",
- "Sort": "Sort"
-}
\ No newline at end of file
+ "Remove field": "Remove field",
+ "Language": "Language",
+ "Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")": "Search for a language by name (e.g \"eng\", \"fr\" or \"Polish\")",
+ "Add another language": "Add another language",
+ "We couldn't find any matches for ": "We couldn't find any matches for ",
+ "search": "search",
+ "Choose": "Choose",
+ "Selected records": "Selected records",
+ "Something went wrong...": "Something went wrong...",
+ "Search...": "Search...",
+ "No results found": "No results found",
+ "Loading...": "Loading...",
+ "Search External Database": "Search External Database",
+ "Search results from external API": "Search results from external API",
+ "Draft saved with validation errors. Fields listed below that failed validation were not saved to the server": "Draft saved with validation errors. Fields listed below that failed validation were not saved to the server",
+ "Draft saved successfully.": "Draft saved successfully.",
+ "Draft published successfully. Redirecting to record's detail page ...": "Draft published successfully. Redirecting to record's detail page ...",
+ "Draft deleted successfully. Redirecting to the main page ...": "Draft deleted successfully. Redirecting to the main page ...",
+ "Start over": "Start over",
+ "totalResults": "totalResults",
+ "totalResults_plural": "totalResults",
+ "resultsPerPage": "resultsPerPage",
+ "Filters": "Filters",
+ "Filter results": "Filter results",
+ "Sort by": "Sort by",
+ "Sort": "Sort",
+ "totalResults_one": "{{count}} result",
+ "totalResults_other": "{{count}} results"
+}