VRFS-2795 instrument selection; json posting
This commit is contained in:
parent
23ccc855d5
commit
8bbfdbc013
|
|
@ -248,9 +248,11 @@ module JamRuby
|
|||
rel
|
||||
end
|
||||
|
||||
def search_results_page(params={})
|
||||
rel = do_search(params)
|
||||
rel, page = self.pagination(rel, params)
|
||||
def search_results_page(filter={}, page=1)
|
||||
self.data_blob = filter
|
||||
self.save
|
||||
rel = do_search(filter)
|
||||
rel, page = self.pagination(rel, filter)
|
||||
rel.to_json
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -148,8 +148,8 @@ context.JK.MusicianSearchFilter = class MusicianSearchFilter
|
|||
checked: selected
|
||||
)
|
||||
$('#search-filter-instruments').append instrumentHtml
|
||||
instsel = '#search-filter-instruments tr[data-instrument-id="'+instrument.id+'"] select'
|
||||
$(instsel).val(proficiency)
|
||||
profsel = '#search-filter-instruments tr[data-instrument-id="'+instrument.id+'"] select'
|
||||
$(profsel).val(proficiency)
|
||||
return true
|
||||
|
||||
_selectedValue: (identifier) =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue