VRFS-3393 added KEY_RESULTS field to filter

This commit is contained in:
Jonathan Kolyer 2015-08-04 09:51:39 +00:00
parent 3c16949615
commit 7e911bdb32
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ module JamRuby
def search_results_page(filter=nil)
result_types = filter[KEY_RESULT_TYPES]
has_songs, has_artists = result_types.index(KEY_SONGS), result_types.index(KEY_ARTISTS)
filter[KEY_RESULTS] = {}
if has_songs
rel = do_search(filter)