Project

General

Profile

Actions

Bug #37993

closed

Content view purge count is misleading

Added by Chris Roberts 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Fixed in Releases:
Found in Releases:

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

Also available in: Atom PDF