diff --git a/webapp/graphql/PostQuery.js b/webapp/graphql/PostQuery.js
index cac80d9b1..1daedf5e1 100644
--- a/webapp/graphql/PostQuery.js
+++ b/webapp/graphql/PostQuery.js
@@ -79,8 +79,8 @@ export default i18n => {
export const filterPosts = i18n => {
const lang = i18n.locale().toUpperCase()
return gql(`
- query Post($filter: _PostFilter, $first: Int, $offset: Int) {
- Post(filter: $filter, first: $first, offset: $offset) {
+ query Post($filter: _PostFilter, $first: Int, $offset: Int, $orderBy: [_PostOrdering]) {
+ Post(filter: $filter, first: $first, offset: $offset, orderBy: $orderBy) {
id
title
contentExcerpt
diff --git a/webapp/locales/de.json b/webapp/locales/de.json
index 467a9a2ee..617741170 100644
--- a/webapp/locales/de.json
+++ b/webapp/locales/de.json
@@ -23,6 +23,12 @@
"bank": "Bankverbindung",
"germany": "Deutschland"
},
+ "sorting": {
+ "newest": "Neuste",
+ "oldest": "Älteste",
+ "poular": "Beliebt",
+ "commented": "meist Kommentiert"
+ },
"login": {
"copy": "Wenn Du bereits ein Konto bei Human Connection hast, melde Dich bitte hier an.",
"login": "Einloggen",
diff --git a/webapp/locales/en.json b/webapp/locales/en.json
index edd2c6dc6..13d9f2ed6 100644
--- a/webapp/locales/en.json
+++ b/webapp/locales/en.json
@@ -23,6 +23,12 @@
"bank": "bank account",
"germany": "Germany"
},
+ "sorting": {
+ "newest": "Newest",
+ "oldest": "Oldest",
+ "poular": "Popular",
+ "commented": "most Commented"
+ },
"login": {
"copy": "If you already have a human-connection account, login here.",
"login": "Login",
diff --git a/webapp/pages/index.vue b/webapp/pages/index.vue
index 0930d9a71..d2ad96113 100644
--- a/webapp/pages/index.vue
+++ b/webapp/pages/index.vue
@@ -9,6 +9,17 @@
@clearSearch="clearSearch"
/>
+
+
+
+
+