Search is now working
This commit is contained in:
parent
0c841ce60b
commit
eda289931f
@ -4,6 +4,14 @@ $(document).ready(function() {
|
||||
|
||||
$('#search-button').click(function() {
|
||||
var location = getNullableField($('input[name="location"]').val());
|
||||
var dateFrom = getNullableField($('input[name="from-date"]').val());
|
||||
var dateTo = getNullableField($('input[name="to-date"]').val());
|
||||
var severity = $('select[name="severity"]').val();
|
||||
if (severity == -1) {
|
||||
severity = null;
|
||||
}
|
||||
|
||||
searchLogs(location, dateFrom, dateTo, severity);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user