Home arrow Forum
Home
About
Demo
Forum
FAQ
Live Sites
Feedback

Login





Lost Password?
No account yet? Register
Stay Tuned!
 
Who's Online
We have 10 guests and 3 members online

powered_by Joomla
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
how to fix sorting in extended search (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: how to fix sorting in extended search
#2449
rafaromeral (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
how to fix sorting in extended search 1 Year, 5 Months ago Karma: 1  
Hi, you might have notice that sorting does not work in extended search. To fix it do this in components/com_estateagent/estateagent.php (line 860 or so).

Replace this existing code:

Code:

$sort1[] = mosHTML::makeOption( ' rent', _EA_OBJ_RENT ); $sort1[] = mosHTML::makeOption( ' price', _EA_OBJ_PRICE ); $sort1[] = mosHTML::makeOption( ' space', _EA_OBJ_DWSPACE ); $sort1[] = mosHTML::makeOption( ' rooms', _EA_OBJ_ROOMNR ); $sort1[] = mosHTML::makeOption( ' bedrooms', _EA_OBJ_BEDROOMS ); $sort1[] = mosHTML::makeOption( ' yobuilt', _EA_OBJ_YOBUILT );
With this new code:
Code:

$sort1[] = mosHTML::makeOption( 'ORDER BY rent', _EA_OBJ_RENT ); $sort1[] = mosHTML::makeOption( 'ORDER BY price', _EA_OBJ_PRICE ); $sort1[] = mosHTML::makeOption( 'ORDER BY space', _EA_OBJ_DWSPACE ); $sort1[] = mosHTML::makeOption( 'ORDER BY rooms', _EA_OBJ_ROOMNR ); $sort1[] = mosHTML::makeOption( 'ORDER BY bedrooms', _EA_OBJ_BEDROOMS ); $sort1[] = mosHTML::makeOption( 'ORDER BY yobuilt', _EA_OBJ_YOBUILT );
Regards, Rafael.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
how to fix sorting in extended search
rafaromeral 2007/01/15 14:05
    thread link
thread linkthread link Re:how to fix sorting in extended search
rafaromeral 2007/01/15 15:16
    thread link
thread linkthread link Re:how to fix sorting in extended search
Web Jeb 2007/03/05 01:31
    emo
thread linkthread link Re:how to fix sorting in extended search
sharemind 2008/04/17 20:32
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop