var search_term = (params.term === undefined) ? '' : params.term;
var query = {
"q": JSON.stringify({"name":{"-like":search_term+'%'}}),
"_order_by": "name"
"_order_by": "name",
"_per_page": -1
};
return query;
},
"patron_id": patron_id
"patron_id": patron_id,
-