UserJot
UserJot
6d ago

Export giving different amount of pending posts than exists

When I exported our requests, I found out there is a discrepancy between the web and the export. While we currently have 167 pending posts, there are 378 posts marked as pending in the export. I am attaching some examples. Why is that and how can it be fixed? 
ProgressIn Progress

6 days ago

I checked this and the difference comes from merged requests. The web UI counts only active, standalone requests. The CSV export currently includes all requests in the workspace, including requests that were merged into another request. When a request is merged, it is hidden from the main requests list, but it still exists in the database and keeps its original status. So some requests still show as Pending in the export even though they are no longer counted as pending in the web UI. In your workspace right now, there are 372 total pending requests in the export-style count, 168 active pending requests shown in the web UI, and 204 pending requests that have been merged into other requests. How would you prefer exports to behave: should the CSV match the web UI and exclude merged requests by default, or should it continue including merged requests but add a column like merged_into_request_id so they are easier to identify?

6 days ago

the CSV match the web UI and exclude merged requests please

Progress
changed status toIn Progress·6 days ago
6 days ago

Reviewing this now.