UI changes to add checkbox and support searching for only new matches via new API.

This commit is contained in:
smcpeck 2017-02-23 17:17:27 -06:00
parent 0d3ff966d6
commit 39871802b5
6 changed files with 56 additions and 23 deletions

View file

@ -745,7 +745,8 @@ function actorLoad() {
}
$ml.html("");
var url = createBaseUrl(base, '/requests/actor');
var $newOnly = $('#searchNewOnly').val();
var url = createBaseUrl(base, '/requests/actor' + (!!$newOnly ? '/new' : ''));
$.ajax(url).success(function (results) {
if (results.length > 0) {
results.forEach(function (result) {