mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
UI changes to add checkbox and support searching for only new matches via new API.
This commit is contained in:
parent
0d3ff966d6
commit
39871802b5
6 changed files with 56 additions and 23 deletions
3
Ombi.UI/Content/requests.js
vendored
3
Ombi.UI/Content/requests.js
vendored
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue