More work on reports and config options
This commit is contained in:
@@ -191,11 +191,11 @@ export async function get_ae_obj_li_for_obj_id_crud_v2(
|
||||
headers['order_by_li'] = JSON.stringify(order_by_li);
|
||||
}
|
||||
|
||||
if (limit >= 0) {
|
||||
if (limit > 0) {
|
||||
params['limit'] = limit;
|
||||
}
|
||||
|
||||
if (offset >= 0) {
|
||||
if (offset > 0) {
|
||||
params['offset'] = offset;
|
||||
}
|
||||
|
||||
|
||||
@@ -387,7 +387,7 @@ export async function qry__event_file(
|
||||
qry_file_purpose = null,
|
||||
enabled = 'enabled',
|
||||
hidden = 'not_hidden',
|
||||
limit = 50,
|
||||
limit = 49,
|
||||
offset = 0,
|
||||
order_by_li = {'priority': 'DESC', 'sort': 'DESC', 'created_on': 'DESC', 'updated_on': 'DESC', 'filename': 'ASC', 'extension': 'ASC', 'hosted_file_size': 'ASC'},
|
||||
params = {},
|
||||
@@ -451,6 +451,10 @@ export async function qry__event_file(
|
||||
params_json['qry'].push(qry_param);
|
||||
}
|
||||
|
||||
// if (!limit || limit <= 0) {
|
||||
// limit = null;
|
||||
// }
|
||||
|
||||
if (log_lvl) {
|
||||
console.log('params_json:', params_json);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user