@@ -10,7 +10,7 @@ import difference from 'lodash/difference'
1010import classNames from 'classnames'
1111import { ROUTE_ROOT } from '../../../../utils/routingConstants'
1212import { getCurationsAction } from '../../../../actions/curationActions'
13- import { uiBrowseUpdateList , uiNavigation , uiBrowseGet } from '../../../../actions/ui'
13+ import { uiBrowseUpdateFilterList , uiBrowseUpdateList , uiNavigation , uiBrowseGet } from '../../../../actions/ui'
1414import SystemManagedList from '../../../SystemManagedList'
1515import Section from '../../../Section'
1616import ComponentList from '../../../ComponentList'
@@ -73,8 +73,8 @@ class PageBrowse extends SystemManagedList {
7373
7474 onSearch = value => {
7575 this . setState ( { searchTerm : value } )
76- const provider = this . state . selectedProvider . value
77- super . onSearch ( provider + '/' + value )
76+ const valueToSearch = this . state . selectedProvider . value + '/' + value
77+ this . props . dispatch ( uiBrowseUpdateFilterList ( this . props . token , valueToSearch ) )
7878 }
7979
8080 tableTitle ( ) {
@@ -170,7 +170,10 @@ class PageBrowse extends SystemManagedList {
170170
171171 onProviderChange ( item ) {
172172 this . setState ( { selectedProvider : item } )
173- this . state . searchTerm && super . onSearch ( item . value + '/' + this . state . searchTerm )
173+ if ( this . state . searchTerm ) {
174+ const valueToSearch = item . value + '/' + this . state . searchTerm
175+ this . props . dispatch ( uiBrowseUpdateFilterList ( this . props . token , valueToSearch ) )
176+ }
174177 }
175178
176179 // Overrides the default onFilter method
0 commit comments