Actions
Bug #37993
closedContent view purge count is misleading
Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Description
Description of problem:
Using `hammer content-view purge -id <id> -organization-id 1` to delete old content version no longer works.
How reproducible:
Easy
Is this issue a regression from an earlier version:
Yes
Steps to Reproduce:
1. create a CV and publish 4 versions consequently
2. purge old versions(by default 3) with `hammer content-view purge -id <id> -organization-id 1`
Actual behavior:
No versions to delete.
Expected behavior:
The first 3 versions should be purged.
Business Impact / Additional info:
It seems like --count no longer works. Only --count 1 works though.
Looking at the code count is actually doing what it's supposed to it's the numbers of version to keep not purge
Actions