Added the option to select lists in report.
Added an option to generate a CSV report.
This commit is contained in:
parent
6ba04d7ff4
commit
2056645023
8 changed files with 177 additions and 50 deletions
|
@ -17,6 +17,10 @@ module.exports.filter = (request, parent, callback) => {
|
|||
tableHelpers.filter('lists', ['*'], request, ['#', 'name', 'cid', 'subscribers', 'description'], ['name'], 'name ASC', null, callback);
|
||||
};
|
||||
|
||||
module.exports.filterQuicklist = (request, callback) => {
|
||||
tableHelpers.filter('lists', ['id', 'name', 'subscribers'], request, ['#', 'name', 'subscribers'], ['name'], 'name ASC', null, callback);
|
||||
};
|
||||
|
||||
module.exports.quicklist = callback => {
|
||||
db.getConnection((err, connection) => {
|
||||
if (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue