- i filtri non venivano correttamente salvati sui cookies (compariva null e -100)
- aggiunte tabelle accounts e circuits e movements
This commit is contained in:
@@ -23,7 +23,7 @@ const AccountSchema = new Schema({
|
||||
userId: {
|
||||
type: String,
|
||||
},
|
||||
nome_conto: {
|
||||
name: {
|
||||
type: String,
|
||||
},
|
||||
deperibile: {
|
||||
@@ -66,7 +66,7 @@ AccountSchema.pre('save', async function(next) {
|
||||
|
||||
AccountSchema.statics.getFieldsForSearch = function() {
|
||||
return [
|
||||
{field: 'nome_conto', type: tools.FieldType.string},
|
||||
{field: 'name', type: tools.FieldType.string},
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user