Page 1 of 1

Show listings based on types

PostPosted: 19 Sep 2014, 23:18
by saha66
Hi,

I want to show listings based on types, for example put a link for all Rent listings.

Thanks in advance

Re: Show listings based on types

PostPosted: 23 Sep 2014, 07:57
by Koduc
Take a look to the page URL after search. You can use parameters for your purposes.
For a example, http://you_site/en/search?apType=3 shows all "rent by the day" listings

Re: Show listings based on types

PostPosted: 27 Sep 2014, 17:53
by saha66
Thanks a lot for your answer.

I think that there is problem in script.

When I select a listing the 'date_updated' column in {{apartment}} table will update and i did not find a query in script that query the database for this change.

I do not want this column to be updated just with select a listing.

Thanks in advance

Re: Show listings based on types

PostPosted: 27 Sep 2014, 19:47
by support
protected\modules\install\data\open-re-full.sql file

Code: Select all
...
CREATE TABLE IF NOT EXISTS `{dbPrefix}apartment`
...
 `
date_updatedtimestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
...