mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
feat: custom view dynamic filter.
This commit is contained in:
@@ -638,10 +638,7 @@ export default class AccountsService {
|
||||
Account,
|
||||
filter
|
||||
);
|
||||
this.logger.info('[accounts] trying to get accounts datatable list.', {
|
||||
tenantId,
|
||||
filter,
|
||||
});
|
||||
// Retrieve accounts model based on the given query.
|
||||
const accounts = await Account.query().onBuild((builder) => {
|
||||
dynamicList.buildQuery()(builder);
|
||||
builder.modify('inactiveMode', filter.inactiveMode);
|
||||
|
||||
Reference in New Issue
Block a user