OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Setting default Filter option on Date (0 viewing) 
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Setting default Filter option on Date
#24138
Artamedia (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Setting default Filter option on Date 5 Months, 1 Week ago Karma: 0  
I see that default filter is set on Title. How can I change this on Date ?
Thank you
 
Logged Logged  
  The administrator has disabled public write access.
#24183
admin (Admin)
Admin
Posts: 5075
graph
User Offline Click here to see the profile of this user
Re:Setting default Filter option on Date 5 Months, 1 Week ago Karma: 61  
Hello

Please in file
{your site}/components/com_realestatemanager/realestatemanager.php

find all code look like

Code:

        } else {
            $sort_arr = array();
            $sort_arr['order_field'] = 'htitle';
            $sort_arr['order_direction'] = 'asc';
            $item_session->set('rem_housesort', $sort_arr);
        }



and replace to

Code:

        } else {
            $sort_arr = array();
            $sort_arr['order_field'] = 'date';
            $sort_arr['order_direction'] = 'asc';
            $item_session->set('rem_housesort', $sort_arr);
        }



Please backup that file first
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?