This question about Missing functionality: Task filed

Show Summary Of Changes Since N Revs Back

According to the docs for Formatted Search, $changes(n) will give me changes between the latest version and version n.

However, when I'm searching across many pages, I really can't guess what n should be. I'm more likely to want to see changes between the latest and two back, or three back, than some explicit n.

I would like to have the option of entering a negative number to specify changes between latest verson and n versions back. But that's not available (yet).

I tried using CALC:

%SEARCH{".*"  type="regex" nosearch="on" noheader="on" 
   newline="%BR%" order="modified" limit="20" reverse="on" 
   format="| [[$web.$topic][$topic]] | r $rev | $date -- $wikiname | $changes | $changes($percntCALC{$EVAL($rev - 1)}$percnt) | "}%

But
$changes($percntCALC{$EVAL($rev - 1)}$percnt)

isn't giving me what I want.

I assume there's an "order of evaluation" problem.

Can I do what I want to do? If so, how?


We turned this into a task, Tasks.Item9464. Essentially, it seems the $changes token is ... less than useful in its current form

-- PaulHarvey - 13 Feb 2012

QuestionForm edit

Subject Missing functionality
Extension
Version Foswiki 1.0.9
Status Task filed
Related Topics
Topic revision: r2 - 13 Feb 2012, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy