hotfix tags not filtering correctly

This commit is contained in:
Stefan Zermatten
2020-10-15 16:12:32 +02:00
parent 7922e30ddc
commit 384fa076f1
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ Meteor.publish('slotFillers', function(slotId){
let filter = {
'ancestors.id': {$in: libraryIds},
};
if (slot.tags.length){
if (slot.slotTags.length){
filter.tags = {$all: slot.slotTags};
}
if (slot.slotType){

View File

@@ -164,7 +164,7 @@ export default {
},
libraryNodes(){
let filter = {};
if (this.model.tags.length){
if (this.model.slotTags.length){
filter.tags = {$all: this.model.slotTags};
}
if (this.model.slotType){