Commit 3d4c6a15 authored by Jesper Zedlitz's avatar Jesper Zedlitz
Browse files

Merge branch 'master' of gitlab.genealogy.net:project/des

parents 38b11aa5 f5b3beb7
Pipeline #1609 failed with stages
in 11 seconds
......@@ -39,7 +39,7 @@ class IterateFieldsTagLib {
if (name) {
String property = 'value' + String.format('%02d', i)
String value = page.getProperty(property)
out << body(propertyName: name, propertySearchable: searchable, propertyValue: value, propertyIdx: i + 1)
out << body(propertyName: name, propertySearchable: searchable, propertyValue: value, propertyIdx: i )
}
}
} else if (project) {
......@@ -47,7 +47,7 @@ class IterateFieldsTagLib {
String name = project.getProperty('pageValue' + String.format('%02d', i) + 'Name')
boolean searchable = project.getProperty('searchPageValue' + String.format('%02d', i))
if (name) {
out << body(propertyName: name, propertySearchable: searchable, propertyIdx: i + 1)
out << body(propertyName: name, propertySearchable: searchable, propertyIdx: i )
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment