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.
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user