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 4 guests and 2 members online

powered_by Joomla
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:how to fix sorting in extended search (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re: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, 7 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.
#2450
rafaromeral (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:how to fix sorting in extended search 1 Year, 7 Months ago Karma: 1  
However, this ordering (sorting) only works for the first page of results. When there is more than one page of results, the sorting is lost when navigating between them.
For example:
<< Start < Prev [1] 2 Next > End >>
Only the first page, and the first time, gets the results ordered. If I navigate through the results pages the ordering is lost, even in when returning to the same page again. Anyone knows how to solve this?
Regards, Rafael.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2874
Web Jeb (User)
Expert Boarder
Posts: 106
graphgraph
User Offline Click here to see the profile of this user
Re:how to fix sorting in extended search 1 Year, 5 Months ago Karma: 0  
in my EA1011 SAME PROBLEM >>> dont know how to fix it ... rather important issue !!!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5762
sharemind (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:how to fix sorting in extended search 4 Months ago Karma: 0  
I have got the same problem .... anyone have a solution, please ??

 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop