- Posts: 107
- Thank you received: 1
OS Property support center
Price Filtering
- Gerry Na
- Topic Author
- Offline
- Premium Member
-
Less
More
2 days 13 hours ago #177100
by Gerry Na
Price Filtering was created by Gerry Na
In previous versions of OS Property, if I left the Min Price on Slider and Max Price on Slider fields blank in the "Price range" slider, the minimum and maximum values of the properties on the site would be displayed.
In this latest version, however, the slider doesn't work.
I believe this simple change in classes/listing.php should be included in the next version.
if($min_price == 0)
{
$db->setQuery("Select price from #__osrs_properties order by price asc limit 1");
$min_price = $db->loadResult()
}
if($max_price == 0)
{
$db->setQuery("Select price from #__osrs_properties order by price desc limit 1");
$max_price = $db->loadResult()
}
In this latest version, however, the slider doesn't work.
I believe this simple change in classes/listing.php should be included in the next version.
if($min_price == 0)
{
$db->setQuery("Select price from #__osrs_properties order by price asc limit 1");
$min_price = $db->loadResult()
}
if($max_price == 0)
{
$db->setQuery("Select price from #__osrs_properties order by price desc limit 1");
$max_price = $db->loadResult()
}
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13524
- Thank you received: 1768
1 day 10 hours ago #177116
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Price Filtering
Hi Gerry,
Thank you for your suggestion
Dam
Thank you for your suggestion
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2026 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.