Meaning inverted for domain options includes, indexes, and multiviews.
This commit is contained in:
parent
0f3f06780e
commit
b3142cfbb9
@ -304,23 +304,23 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
|
|||||||
// TODO: This code should be cleaned up after switching to the velocity template engine.
|
// TODO: This code should be cleaned up after switching to the velocity template engine.
|
||||||
query.setParameter("option", "indexes");
|
query.setParameter("option", "indexes");
|
||||||
if (query.getResultList().isEmpty()) {
|
if (query.getResultList().isEmpty()) {
|
||||||
templateVars.put("INDEXES", "+Indexes");
|
|
||||||
} else {
|
|
||||||
templateVars.put("INDEXES", "-Indexes");
|
templateVars.put("INDEXES", "-Indexes");
|
||||||
|
} else {
|
||||||
|
templateVars.put("INDEXES", "+Indexes");
|
||||||
}
|
}
|
||||||
// TODO: This code should be cleaned up after switching to the velocity template engine.
|
// TODO: This code should be cleaned up after switching to the velocity template engine.
|
||||||
query.setParameter("option", "includes");
|
query.setParameter("option", "includes");
|
||||||
if (query.getResultList().isEmpty()) {
|
if (query.getResultList().isEmpty()) {
|
||||||
templateVars.put("INCLUDES", "+IncludesNoExec");
|
|
||||||
} else {
|
|
||||||
templateVars.put("INCLUDES", "-Includes");
|
templateVars.put("INCLUDES", "-Includes");
|
||||||
|
} else {
|
||||||
|
templateVars.put("INCLUDES", "+IncludesNoExec");
|
||||||
}
|
}
|
||||||
// TODO: This code should be cleaned up after switching to the velocity template engine.
|
// TODO: This code should be cleaned up after switching to the velocity template engine.
|
||||||
query.setParameter("option", "multiviews");
|
query.setParameter("option", "multiviews");
|
||||||
if (query.getResultList().isEmpty()) {
|
if (query.getResultList().isEmpty()) {
|
||||||
templateVars.put("MULTIVIEWS", "+MultiViews");
|
|
||||||
} else {
|
|
||||||
templateVars.put("MULTIVIEWS", "-MultiViews");
|
templateVars.put("MULTIVIEWS", "-MultiViews");
|
||||||
|
} else {
|
||||||
|
templateVars.put("MULTIVIEWS", "+MultiViews");
|
||||||
}
|
}
|
||||||
// TODO: This code should be cleaned up after switching to the velocity template engine.
|
// TODO: This code should be cleaned up after switching to the velocity template engine.
|
||||||
query.setParameter("option", "htdocsfallback");
|
query.setParameter("option", "htdocsfallback");
|
||||||
|
Loading…
Reference in New Issue
Block a user