Skip to content

Commit

Permalink
Merge pull request #1829 from ushahidi/revert-1824-fix/published-post…
Browse files Browse the repository at this point in the history
…s-only

Revert "Fix: Post list display only published posts by default when no status is specified"
  • Loading branch information
tuxpiper authored Sep 19, 2022
2 parents 84c9a02 + 521fda2 commit 42a3859
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions legacy/app/common/services/post-filters.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 42a3859

Please sign in to comment.