API returning deleted products #1626

Closed
Kagetsuki opened this Issue Jun 3, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@Kagetsuki

Queries to api/products.json returns ALL products, including deleted ones. Writes against deleted products don't seem to happen, which is correct, but there is also no way to determine which products have been deleted and which are not currently deleted.

It seems to me api/products.json should not be returning deleted products - but if that is the intended behavior is there a way to filter them or identify them?

@radar radar closed this in f4b232b Jun 3, 2012

@radar

This comment has been minimized.

Show comment
Hide comment
@radar

radar Jun 3, 2012

Member

This has been fixed in 1-1-stable and master. You can get it show deleted products by passing a show_deleted parameter with any value if you wish.

Member

radar commented Jun 3, 2012

This has been fixed in 1-1-stable and master. You can get it show deleted products by passing a show_deleted parameter with any value if you wish.

radar added a commit that referenced this issue Jun 3, 2012

radar added a commit that referenced this issue Jun 3, 2012

radar added a commit that referenced this issue Jun 6, 2012

cyu pushed a commit to Scoutmob/spree that referenced this issue Jun 8, 2012

Do not include deleted products by default
Allow them to be included by passing a show_deleted parameter

Fixes #1626
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment