summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org/madore/damlengine/TodoWXrefAttr.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org/madore/damlengine/TodoWXrefAttr.java b/org/madore/damlengine/TodoWXrefAttr.java
index e35d06f..2f0ca3c 100644
--- a/org/madore/damlengine/TodoWXrefAttr.java
+++ b/org/madore/damlengine/TodoWXrefAttr.java
@@ -41,7 +41,8 @@ public class TodoWXrefAttr extends TodoAttr {
newAttr.setValue(target);
this.owner.setAttributeNodeNS(newAttr);
if ( ! this.owner.hasAttributeNS(DamlEngine.DAML_NS, "d:wrefcat") ) {
- if ( ctx.wsc instanceof Context.WeblogMonthSelectionContext )
+ if ( ctx.wsc instanceof Context.WeblogMonthSelectionContext
+ || ctx.wsc instanceof Context.WeblogRecentSelectionContext )
this.owner.setAttributeNS(DamlEngine.DAML_NS, "d:wrefcat", "@month");
}
this.ownerDeque.registerAtStart(new TodoWrefAttr(newAttr, this.owner,