PDA

View Full Version : Saved searches



RealEstate
06-30-2004, 03:23 PM
i saved a search and labeled it "1st".
i opened this search. i tried to resave it by clicking on the "Save this search" link. and it correctly gave me "Warning: This search is already saved by you as 1st" <----- when i click on this "1st", it took me to the Search Listings page (http://open-realty.org/demo/listingsearch.php).

i should have taken me to the results of search "1st".

can this be corrected or was it designed like this for a purpose?

Thanks,

RealEstate

sonjay
07-13-2004, 12:15 PM
In members/savedsearch.php, this line:

echo "<br>$lang[search_already_in_saved_searches]<a href=\"../listingsearch.php?".make_db_unsafe($recordSet->fields[query_string] . "\">" .make_db_unsafe($recordSet->fields[title]) . "</a><br>");

Needs to be changed to this:

echo "<br>$lang[search_already_in_saved_searches]<a href=\"/listing_browse.php?" . make_db_unsafe($recordSet->fields[query_string]) . "\">" . make_db_unsafe($recordSet->fields[title]) . "</a><br>";

RealEstate
07-13-2004, 01:18 PM
Thanks Sonjay, I will look into it.