Meaning inverted for domain options includes, indexes, and multiviews.

This commit is contained in:
Purodha Blissenbach 2012-09-21 18:22:26 +02:00
parent 0f3f06780e
commit b3142cfbb9

View File

@ -304,23 +304,23 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
// TODO: This code should be cleaned up after switching to the velocity template engine.
query.setParameter("option", "indexes");
if (query.getResultList().isEmpty()) {
templateVars.put("INDEXES", "+Indexes");
templateVars.put("INDEXES", "-Indexes");
} else {
templateVars.put("INDEXES", "-Indexes");
templateVars.put("INDEXES", "+Indexes");
}
// TODO: This code should be cleaned up after switching to the velocity template engine.
query.setParameter("option", "includes");
if (query.getResultList().isEmpty()) {
templateVars.put("INCLUDES", "+IncludesNoExec");
} else {
if (query.getResultList().isEmpty()) {
templateVars.put("INCLUDES", "-Includes");
} else {
templateVars.put("INCLUDES", "+IncludesNoExec");
}
// TODO: This code should be cleaned up after switching to the velocity template engine.
query.setParameter("option", "multiviews");
if (query.getResultList().isEmpty()) {
templateVars.put("MULTIVIEWS", "+MultiViews");
templateVars.put("MULTIVIEWS", "-MultiViews");
} else {
templateVars.put("MULTIVIEWS", "-MultiViews");
templateVars.put("MULTIVIEWS", "+MultiViews");
}
// TODO: This code should be cleaned up after switching to the velocity template engine.
query.setParameter("option", "htdocsfallback");