summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2009-10-08 12:58:32 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2009-10-08 12:58:32 +0200
commit876f26b9368f8976712f3eebef766745aec8616d (patch)
tree189ad4866e8f500f4b37592ddc71b74ddf8737e6
parentb95ed08641880a6b99ce5f692d45f855f57dd044 (diff)
Make COMPUTE-JOURNAL-LAST-MODIFIED-DATE take trackbacks into account.
Ignore-this: c78bf66833a39e4f134bdbc9edd3f0ea darcs-hash:fa5c84b0dac74a4a532ff979207723d64e9f1856
-rw-r--r--journal-content.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/journal-content.lisp b/journal-content.lisp
index 1f73aa2..7a92c62 100644
--- a/journal-content.lisp
+++ b/journal-content.lisp
@@ -360,5 +360,10 @@
(select [max [slot-value 'journal-comment 'date]]
:from [journal-comment]
:flatp t))
+ 0)
+ (or (single-object
+ (select [max [slot-value 'journal-trackback 'date]]
+ :from [journal-trackback]
+ :flatp t))
0))
#.(restore-sql-reader-syntax-state)))