- Posts: 34
- Thank you received: 2
Frontend edit: add order by price
- Josh
- Topic Author
- Offline
- Junior Member
Less
More
5 years 7 months ago - 5 years 7 months ago #124756
by Josh
Frontend edit: add order by price was created by Josh
Hi, I've noticed on the frontend property manager an "order by price" is missed, so I thought you could find it useful until the devs add it (and this is also a request for them):
Look for static function manageAllProperties($option) on /components/com_osproperty/classes/listing.php
Within it:
1) Look for
and add
after that;
2) Again, look for
following the first one and add
after that;
3) Then look for
and add
Best regards
Look for static function manageAllProperties($option) on /components/com_osproperty/classes/listing.php
Within it:
1) Look for
Code:
$query .= " OR a.ref like '%$keyword%'";
Code:
$query .= " OR a.price like '%$keyword%'";
2) Again, look for
Code:
$query .= " OR a.ref like '%$keyword%'";
Code:
$query .= " OR a.price like '%$keyword%'";
3) Then look for
Code:
$sortbyArr[] = JHTML::_('select.option','a.ref',JText::_('Ref #'));
Code:
$sortbyArr[] = JHTML::_('select.option','a.price',JText::_('OS_PRICE'));
Best regards
Last edit: 5 years 7 months ago by Josh.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12827
- Thank you received: 1661
5 years 5 months ago #126813
by Mr. Dam
Replied by Mr. Dam on topic Frontend edit: add order by price
Hi,
I will add this change in next OS Property version.
Thanks
Dam
I will add this change in next OS Property version.
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 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.