Closed aidenszeto closed 2 years ago
My draft still shows up in featured and the recently posted listings for some reason.
My draft still shows up in featured and the recently posted listings for some reason.
Not sure if this may be related but it looks like there are 2 identical listings called "Cozy 2 Bed 2 Bath near Sac Town Center" in the dev database. One is active meaning it should be displayed in the featured section and the other is inactive.
Could this be causing the behavior you found?
@aidenszeto Oh i do remember trying to make the same listing twice so that might be the case - but this means that there's an error with the listings tab in MyProfile since i only saw the expired one
@syd-tan thanks for the catch. It looks like we were still hiding expired listings even though all expired listings should already be automatically be converted to drafts (from the ticket you worked on a while back). That behavior was legacy and the most recent commit should have the fixes. I left in the code for filtering expired listings in case we want to mess with that in the future tho.
Also I manually changed both of these to drafts since they were both expired. I'm guessing we had created one of them prior to the automatic nodecron draft conversion which was why it was left as active.
Relevant issue
Closes #542
Summary of change
Testing/Verification