diff --git a/modules/discojuice/www/discojuice/discojuice.control.js b/modules/discojuice/www/discojuice/discojuice.control.js index 12f585fd70b125edb5e9036dbea02cb075930746..699453a1c5adada2f75d5a1a47240cfa9bd271b7 100644 --- a/modules/discojuice/www/discojuice/discojuice.control.js +++ b/modules/discojuice/www/discojuice/discojuice.control.js @@ -475,6 +475,11 @@ DiscoJuice.Control = { current = this.data[i]; if (!current.weight) current.weight = 0; + if (!current.title) { + console.log('No title for this entry [' + current.entityID + (current.relID) + '] skipping.'); + continue; + } + if (term) { search = this.parent.Utils.searchMatch(current,term); // if (search === false && current.weight > -50) continue;