Commit 4a77de7e authored by alissonalbuquerque's avatar alissonalbuquerque
Browse files

add correção de search em cadastro de avaliadores em pad

parent 176e6b04
...@@ -79,7 +79,12 @@ ...@@ -79,7 +79,12 @@
allowClear: true, allowClear: true,
ajax: { ajax: {
url: '{{ route("user_search") }}', url: '{{ route("user_search") }}',
data: {remove_avaliators_by_pad_id : {{$pad->id}}}, data: function(params) {
return {
q: params.term,
remove_avaliators_by_pad_id : {{$pad->id}}
}
},
dataType: 'json' dataType: 'json'
}, },
dropdownParent: $('#modal') dropdownParent: $('#modal')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment