• Randall Leeds's avatar
    Consistently use q as the search query parameter · 9ffe1bbc
    Randall Leeds authored
    This unifies the stream and page_search query parameter usage. Both now
    use the 'q' parameter. Additionally, the search string is passed to
    `simpleSearch` directive and the `QueryParser` instead of an object
    with a "query" or "q" key.
    
    The clump of conditionals in the route update event handler is removed.
    Instead, the viewer and page search redirect to one another and the
    stream can be totally ignorant of the involvement of the location.
    
    The views are updated to use ?q= for /u and /t shortcuts.
    9ffe1bbc
streamsearch.coffee 1.29 KB