Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorconsumerway
    • CommentTimeJan 22nd 2008 edited
     
    When performing a search with a space in the string the live results show '%20' as the space, and in return not showing any results.

    Eg:

    Job title: Office Cleaner

    Search: Office%20Cleaner

    Any ideas how to fix this?

    Thanks,

    CS
    • CommentAuthorfilip
    • CommentTimeJan 22nd 2008
     

    Right…
    I know about this issue and should be fairly easy to fix. Maybe someone offers a fix? :)

  1.  
    It would be great if there was a simple fix for this released :)

    CS
    • CommentAuthorrsa
    • CommentTimeJan 23rd 2008
     
    Hi,

    There is a quick fix for it:
    add in /app/page_search.php, after the code from line 16, the following code:
    $keywords = urldecode($keywords);

    Adrian
    • CommentAuthorfilip
    • CommentTimeJan 23rd 2008
     

    Awesome, @rsa, thank you! :)

  2.  
    I found that this solved the problems of getting the url into jobberbase

    so my url could end /search/south%20east

    The problem was that south%20east showed up in the search box as well as the text "Search results for south%20east"
    To solve this add in the line

    $id = urldecode($id);

    at about line 81 into the following block of code

    else if ($id != '' && !strstr($id, '|'))
    {
    $id = urldecode($id);
    $smarty->assign('keywords', stripslashes(htmlentities($id, ENT_QUOTES)));
    $template = 'search.tpl';
    }
    else

    This will then display the text fine without the percent 20 in the middle of the text