Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Max Mumford 266 posts 293 karma points
    Jul 11, 2011 @ 13:44
    Max Mumford
    0

    Search input field listing past searches

    Hi,

    I just upgraded from xslt search 2.5 to 3.1 by installing the package over the top and overwriting the appropriate files. The search works, but there is a problem where it lists all your past searches. Here is what happens:

    • Go to search page
    • Type search in text box, e.g. "umbraco"
    • Hit enter
    • See search results and text box at top of page says "umbraco"
    • Change text in textbox from "umbraco" to "ava" and hit enter
    • Page loads and textbox says "umbraco,ava" and shows results for "umbraco,ava" instead of just "ava"
    Any ideas what is causing this?
    Thanks,
    Max.

     

  • Tom Fulton 2030 posts 4995 karma points c-trib
    Jul 11, 2011 @ 14:02
    Tom Fulton
    0

    Hi Max,

    I think it's caused by having two search boxes (one at bottom of results, one on top) with the same name.  It's probably combining both of them when the Search button is clicked.  As a workaround you could change the macro parameter searchBoxLocation to just TOP.

    -Tom

  • Max Mumford 266 posts 293 karma points
    Jul 11, 2011 @ 14:28
    Max Mumford
    0

    Thanks, that fixed it.

    Max.

Please Sign in or register to post replies

Write your reply to:

Draft