 
         <Row>
             <Col sm=12>
-                <FluxComponent flux={flux} connectToStores={['project_search', store.name]}>
+                <FluxComponent flux={flux} connectToStores={[store.name]}>
                     <ProjectSearchDisplay project_id={project_id}/>
                 </FluxComponent>
             </Col>

        description : rtypes.string


    handle_click : (e) ->
        console.log(event)
        require('project_store').getActions(@props.project_id, @props.flux).open_file(path:@props.filename, foreground:misc_page.open_in_foreground(e))

    render : ->
        <div style={wordWrap:'break-word'}>
            <a onClick={@handle_click}><strong>{@props.filename}</strong> <span style={color:"#666"}>{@props.description}</span></a>
        </div>


render = (project_id, flux) ->
    store = require('project_store').getStore(project_id, flux)
    <div>
        <Row>
            <Col sm=12>

                    filename    : filename
                    description : context

            if num_results >= max_results
                break

        project_store.getActions(@props.project_id, flux).setTo
            too_many_results : too_many_results
            search_results   : search_results



    output_heading : ->
        if @props.most_recent_search? and @props.most_recent_path?
            <ProjectSearchOutputHeading
                most_recent_path   = {@props.most_recent_path}
                command            = {@props.command}
                most_recent_search = {@props.most_recent_search}
                search_results     = {@props.search_results}
                search_error       = {@props.search_error} />

    output : ->
        if @props.search_results? or @props.search_error?
            <ProjectSearchOutput
                project_id       = {@props.project_id}
                results          = {@props.search_results}
                too_many_results = {@props.too_many_results}
                search_error     = {@props.search_error} />
        else if @props.most_recent_search?
            # a search has been made but the search_results or search_error hasn't come in yet
            <Loading />

    render : ->
        <Well>
            <Row>
                <Col sm=8>
                    <ProjectSearchInput search_cb={@search} project_id={@props.project_id} />
                    {@output_heading()}
                </Col>

                <Col sm=4>
                    <ProjectSearchSettings
                        project_id     = {@props.project_id}
                        checkboxes     = {@settings_checkboxes}
                        case_sensitive = {@props.case_sensitive}
                        subdirectories = {@props.subdirectories}
                        hidden_files   = {@props.hidden_files} />
                </Col>
            </Row>
