mirror of
https://github.com/wekan/wekan.git
synced 2025-12-31 22:58:48 +01:00
Move every CustomFields.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
This commit is contained in:
parent
9e557f6887
commit
806ad78637
3 changed files with 5 additions and 5 deletions
|
|
@ -372,14 +372,14 @@ class AdvancedFilter {
|
|||
}
|
||||
|
||||
_fieldNameToId(field) {
|
||||
const found = CustomFields.findOne({
|
||||
const found = ReactiveCache.getCustomField({
|
||||
name: field,
|
||||
});
|
||||
return found._id;
|
||||
}
|
||||
|
||||
_fieldValueToId(field, value) {
|
||||
const found = CustomFields.findOne({
|
||||
const found = ReactiveCache.getCustomField({
|
||||
name: field,
|
||||
});
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue