
// Mixins
let i18nMixin =require('../../../../common/i18n').mixin;
let searchBehaviour = require('../../common/search-mixin').mixin;
var searchWrappedAction = require('../action-wrapper');

module.exports = {
    mixins: [i18nMixin, searchBehaviour],
    getInitialState(){
      return {
        isLoading: false
      }
    },
    componentWillMount(){
      this._prepareSearch = searchWrappedAction(this.search, this);
    }
};

@@ -182,16 +182,114 @@
 apper');
+%0Alet SearchBar = require('../../../../search/search-bar').component;%0Avar React = require('react');
 %0A%0Amodule
@@ -421,16 +421,526 @@
 %0A    %7D,%0A
+    _runSearch()%7B%0A      var criteria = this.refs.searchBar.getValue();%0A      return this.props.searchAction(this._buildSearchCriteria(criteria.scope, criteria.query))%0A    %7D,%0A    _SearchBarComponent()%7B%0A      return %3CSearchBar%0A                ref='searchBar'%0A                value=%7Bthis.props.query%7D%0A                scope=%7Bthis.props.scope%7D%0A                scopes=%7Bthis.props.scopeList%7D%0A                loading=%7Bthis.state.isLoadingSearch%7D%0A                handleChange=%7Bthis._runSearch%7D%0A              /%3E;%0A    %7D,%0A
     comp
@@ -1010,17 +1010,21 @@
 on(this.
-s
+_runS
 earch, t

Rewrite mixin in order to call runSearhc.