Skip to content
Snippets Groups Projects
Commit 0b854969 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Skipping entries without title

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2960 44740490-163a-0410-bde0-09ae8108e29a
parent f1b0801e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment