From 521fda299e3b61483480fe492d0d3a8101053492 Mon Sep 17 00:00:00 2001 From: David Losada Date: Mon, 19 Sep 2022 11:29:19 +0200 Subject: [PATCH] Revert "Fix: Post list display only published posts by default when no status is specified" --- legacy/app/common/services/post-filters.service.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/legacy/app/common/services/post-filters.service.js b/legacy/app/common/services/post-filters.service.js index 9aaa9b7af..af8ab72f5 100644 --- a/legacy/app/common/services/post-filters.service.js +++ b/legacy/app/common/services/post-filters.service.js @@ -254,9 +254,6 @@ function PostFiltersService(_, FormEndpoint, TagEndpoint, $q, $rootScope, CONST) } ); - if (filters.status.length === 0) { - query.status = defaults.status; - } if (filters.center_point) { query.center_point = filters.center_point; query.within_km = filters.within_km || 10;