hotfix tags not filtering correctly
This commit is contained in:
@@ -34,7 +34,7 @@ Meteor.publish('slotFillers', function(slotId){
|
|||||||
let filter = {
|
let filter = {
|
||||||
'ancestors.id': {$in: libraryIds},
|
'ancestors.id': {$in: libraryIds},
|
||||||
};
|
};
|
||||||
if (slot.tags.length){
|
if (slot.slotTags.length){
|
||||||
filter.tags = {$all: slot.slotTags};
|
filter.tags = {$all: slot.slotTags};
|
||||||
}
|
}
|
||||||
if (slot.slotType){
|
if (slot.slotType){
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ export default {
|
|||||||
},
|
},
|
||||||
libraryNodes(){
|
libraryNodes(){
|
||||||
let filter = {};
|
let filter = {};
|
||||||
if (this.model.tags.length){
|
if (this.model.slotTags.length){
|
||||||
filter.tags = {$all: this.model.slotTags};
|
filter.tags = {$all: this.model.slotTags};
|
||||||
}
|
}
|
||||||
if (this.model.slotType){
|
if (this.model.slotType){
|
||||||
|
|||||||
Reference in New Issue
Block a user