Lines 1261-1267
Link Here
|
1261 |
var search_term = (params.term === undefined) ? '' : params.term; |
1261 |
var search_term = (params.term === undefined) ? '' : params.term; |
1262 |
var query = { |
1262 |
var query = { |
1263 |
"q": JSON.stringify({"name":{"-like":search_term+'%'}}), |
1263 |
"q": JSON.stringify({"name":{"-like":search_term+'%'}}), |
1264 |
"_order_by": "name" |
1264 |
"_order_by": "name", |
|
|
1265 |
"_per_page": -1 |
1265 |
}; |
1266 |
}; |
1266 |
return query; |
1267 |
return query; |
1267 |
}, |
1268 |
}, |
Lines 1323-1329
Link Here
|
1323 |
var query = { |
1324 |
var query = { |
1324 |
"q": JSON.stringify({"name":{"-like":search_term+'%'}}), |
1325 |
"q": JSON.stringify({"name":{"-like":search_term+'%'}}), |
1325 |
"_order_by": "name", |
1326 |
"_order_by": "name", |
1326 |
"patron_id": patron_id |
1327 |
"patron_id": patron_id, |
|
|
1328 |
"_per_page": -1 |
1327 |
}; |
1329 |
}; |
1328 |
return query; |
1330 |
return query; |
1329 |
}, |
1331 |
}, |
Lines 1360-1366
Link Here
|
1360 |
var query = { |
1362 |
var query = { |
1361 |
"q": JSON.stringify({"name":{"-like":search_term+'%'}}), |
1363 |
"q": JSON.stringify({"name":{"-like":search_term+'%'}}), |
1362 |
"_order_by": "name", |
1364 |
"_order_by": "name", |
1363 |
"patron_id": patron_id |
1365 |
"patron_id": patron_id, |
|
|
1366 |
"_per_page": -1 |
1364 |
}; |
1367 |
}; |
1365 |
return query; |
1368 |
return query; |
1366 |
}, |
1369 |
}, |