- Posts: 12
- Thank you received: 0
OS Property support center
Sort properties by number of bedrooms by default
- RIchard Ware
- Offline
- New Member
-
Less
More
11 years 2 months ago #42613
by RIchard Ware
Replied by RIchard Ware on topic Sort properties by number of bedrooms by default
Hi There
Thats worked great!
Thanks again for your help
Thats worked great!

Thanks again for your help
Please Log in or Create an account to join the conversation.
- RIchard Ware
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
11 years 2 months ago #42687
by RIchard Ware
Replied by RIchard Ware on topic Sort properties by number of bedrooms by default
Hi again
Sorry to bother you again. That works fine when displaying all the property listings, it doesn't seem to work when viewing the results page from a search property form though.
Is there a way to make the search results page also ordered by region?
Many thanks
Sorry to bother you again. That works fine when displaying all the property listings, it doesn't seem to work when viewing the results page from a search property form though.
Is there a way to make the search results page also ordered by region?
Many thanks
Please Log in or Create an account to join the conversation.
- RIchard Ware
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
11 years 2 months ago #42818
by RIchard Ware
Replied by RIchard Ware on topic Sort properties by number of bedrooms by default
Hi Dam
Sorry to bump this, just wondered if you'd found a solution to this final problem...
Many Thanks
Sorry to bump this, just wondered if you'd found a solution to this final problem...
RIchard Ware wrote: That works fine when displaying all the property listings, it doesn't seem to work when viewing the results page from a search property form though.
Is there a way to make the search results page also ordered by region?
Many Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13059
- Thank you received: 1696
11 years 2 months ago #42826
by Mr. Dam
Replied by Mr. Dam on topic Sort properties by number of bedrooms by default
Hi Richard,
In file listing.php, please find
$db->setQuery($count.' '.$from.' '.$where.' '.$group_by.' '.$Order_by);
and replace by
$db->setQuery($count.' '.$from.' '.$where.' '.$group_by.' Order by a.region');
or
$db->setQuery($count.' '.$from.' '.$where.' '.$group_by.' Order by a.region desc');
Good luck
Dam
In file listing.php, please find
$db->setQuery($count.' '.$from.' '.$where.' '.$group_by.' '.$Order_by);
and replace by
$db->setQuery($count.' '.$from.' '.$where.' '.$group_by.' Order by a.region');
or
$db->setQuery($count.' '.$from.' '.$where.' '.$group_by.' Order by a.region desc');
Good luck
Dam
Please Log in or Create an account to join the conversation.
- RIchard Ware
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
11 years 2 months ago #42860
by RIchard Ware
Replied by RIchard Ware on topic Sort properties by number of bedrooms by default
Hi Dam
Sorry I've changed that line but it made no difference to the ordering!
Any other ideas?
Many Thanks
Sorry I've changed that line but it made no difference to the ordering!

Many Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13059
- Thank you received: 1696
11 years 2 months ago #42868
by Mr. Dam
Replied by Mr. Dam on topic Sort properties by number of bedrooms by default
Hi Richard,
Please submit ticket and send your site information with super admin acc, ftp acc. I will check the problem for you
Thanks
Dam
Please submit ticket and send your site information with super admin acc, ftp acc. I will check the problem for you
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.