PDA

View Full Version : rentalsearch bug on minmax



iceman
03-10-2004, 08:21 AM
On rentalsearch.php, the "per week" suppose to show if field type is "price" as Price Per Week.
However, field type "number" and search as minmax also changed to Sq Ft Per Week and the minmax value becomes rental price range.

see http://www.open-realty.org/demo/rentalsearch.php

ben_leow
07-10-2004, 10:40 AM
Same problem. Please help us. pleeeeeeeeaaaaase...........

ben_leow
07-10-2004, 11:38 AM
OK. solved it. in rentalsearch.php, look for

if ($rs->fields['search_type'] == 'minmax')

and replace it with

if ($rs->fields['search_type'] == 'minmax' && $rs->fields['field_name'] == 'price')