Hiding "Sold" listings

Permalink Browser Info Environment
Hi Tony,

My client doesn't want to delete listings after they are rented, so they've been marking them as "sold." I just upgraded the software, and now I can't figure out how to hide all listings that are marked "sold" by default. Can you throw me a bone?

Thanks!

Type: Discussion
Status: New
utahcreative
View Replies:
Tony replied on at Permalink Reply
Tony
oh yeah, a couple of other people have asked for that in the past, so I left it commented out in the code so you can just uncomment it to get it working.

open up /tony_real_estate/blocks/tony_real_estate_search/controller.php, and around line 253, uncomment this line:
$pagelist->filterByAttribute('sale_status',"%sold%","not like");

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.