Test mode as icon in sidebar; Process for searching

This commit is contained in:
James Barnsley
2017-09-04 11:25:58 +12:00
parent e7f3f689ea
commit dc15e6bed0
8 changed files with 101 additions and 99 deletions

View File

@ -443,7 +443,7 @@ export function getURL( url, action_name, key = false ){
}
}
export function getSearchResults(query, type = 'album,artist,playlist,track', limit = 50, offset = 0){
export function getSearchResults(type = 'album,artist,playlist,track', query, limit = 50, offset = 0){
return (dispatch, getState) => {
dispatch(uiActions.startProcess('SPOTIFY_GET_SEARCH_RESULTS_PROCESSOR','Searching Spotify'))