diff --git a/app/services/sqlstore/postgres/common.go b/app/services/sqlstore/postgres/common.go
index 4729ea014..748bad786 100644
--- a/app/services/sqlstore/postgres/common.go
+++ b/app/services/sqlstore/postgres/common.go
@@ -58,6 +58,12 @@ func getViewData(query query.SearchPosts, tagsPlaceholder int) (string, []enum.P
switch query.View {
case "recent":
sort = "id"
+ case "recently-responded":
+ // Limit the result set to posts an admin has actually responded to;
+ // without this filter, open posts with NULL response_date dominate the
+ // tail of the list and make the sort look broken.
+ condition += " AND response_date IS NOT NULL"
+ sort = "response_date"
case "most-wanted":
sort = "votes_count"
case "most-discussed":
diff --git a/locale/en/client.json b/locale/en/client.json
index 5a77ed622..406f620a8 100644
--- a/locale/en/client.json
+++ b/locale/en/client.json
@@ -59,7 +59,9 @@
"home.postfilter.option.myposts": "My Posts",
"home.postfilter.option.myvotes": "My Votes",
"home.postfilter.option.notags": "Untagged",
+ "home.postfilter.option.pending": "Pending",
"home.postfilter.option.recent": "Recent",
+ "home.postfilter.option.recentlyresponded": "Recently Responded",
"home.postfilter.option.trending": "Trending",
"home.postscontainer.label.noresults": "No results matched your search, try something different.",
"home.postscontainer.label.viewmore": "View more posts",
diff --git a/locale/pl/client.json b/locale/pl/client.json
index 27fc6fefb..0787583f9 100644
--- a/locale/pl/client.json
+++ b/locale/pl/client.json
@@ -59,7 +59,9 @@
"home.postfilter.option.myposts": "Moje posty",
"home.postfilter.option.myvotes": "Moje Głosy",
"home.postfilter.option.notags": "Nieoznaczone",
+ "home.postfilter.option.pending": "Oczekujące",
"home.postfilter.option.recent": "Niedawne",
+ "home.postfilter.option.recentlyresponded": "Ostatnio rozpatrzone",
"home.postfilter.option.trending": "Popularne",
"home.postscontainer.label.noresults": "Brak wyników pasujących do Twojego wyszukiwania, spróbuj czegoś innego.",
"home.postscontainer.label.viewmore": "Pokaż więcej postów",
diff --git a/public/pages/Home/components/ListPosts.tsx b/public/pages/Home/components/ListPosts.tsx
index 2fc55f96a..dfb9b243c 100644
--- a/public/pages/Home/components/ListPosts.tsx
+++ b/public/pages/Home/components/ListPosts.tsx
@@ -91,7 +91,11 @@ const MinimalListPostItem = (props: { post: Post; tags: Tag[]; onPostClick?: (po
{props.post.title}
- {isPending && pending}
+ {isPending && (
+
+