- Posts: 1
- Thank you received: 0
OS Property support center
Module mod_ospropertysearch - Show Amenities filte
- Steven Motmans
- Topic Author
- Offline
- New Member
-
Less
More
11 years 6 months ago #37282
by Steven Motmans
Module mod_ospropertysearch - Show Amenities filte was created by Steven Motmans
Hi,
I am using the module mod_ospropertysearch on the left part of the website www.phi-immo.be
The sort of the Amenities filter is from Z to A. Is it possible to do the sort from A-Z., or even better to let me descide the order of the Amenities.
Thx in advance and sry for my bad english, it's not my native language.
I am using the module mod_ospropertysearch on the left part of the website www.phi-immo.be
The sort of the Amenities filter is from Z to A. Is it possible to do the sort from A-Z., or even better to let me descide the order of the Amenities.
Thx in advance and sry for my bad english, it's not my native language.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13025
- Thank you received: 1692
11 years 6 months ago #37284
by Mr. Dam
Replied by Mr. Dam on topic Re: Module mod_ospropertysearch - Show Amenities filte
Hi Steven,
To order the amenities in the search module by Alphabet, please follow these steps
1. Open file
modules > mod_ospropertysearch > mod_ospropertysearch.php
2. find
$db->setQuery("Select * from #__osrs_amenities where published = '1'");
$amenities = $db->loadObjectList();
and change it to
$db->setQuery("Select * from #__osrs_amenities where published = '1' order by amenities");
$amenities = $db->loadObjectList();
Good luck
Dam
To order the amenities in the search module by Alphabet, please follow these steps
1. Open file
modules > mod_ospropertysearch > mod_ospropertysearch.php
2. find
$db->setQuery("Select * from #__osrs_amenities where published = '1'");
$amenities = $db->loadObjectList();
and change it to
$db->setQuery("Select * from #__osrs_amenities where published = '1' order by amenities");
$amenities = $db->loadObjectList();
Good luck
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.