Skip to content

Transaction creation not only removes item from search engine, but all the sellers MyPosts #90

@that1guy

Description

@that1guy

Hi Josh,

https://github.com/HashtagSell/posting-api/blob/develop/lib/data/postings.js#L618

As it stands now, after a buyer and seller have agreed to meet, and a transaction ID has been created, the item will no longer appear in the search, as expected. However, by removing the item from ES entirely the posting will no longer appear in the seller's My Posts and the Buyer's Watchlist.

Seems we need to "flag" the item as pending and not remove from ES completely. I plan on taking a look at doing this later tonight, but for now I going to push past this.

Thanks for taking a look if you beat me to it.

  • Brad

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions