Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
When using
%CALC%
in the search-parameter of a =%SEARCH% macro, =%CALC%=-expressions in the format-parameter doesn't work.
Search with a constant work fine
%SEARCH{
search="Item8417"
type="word"
scope="topic"
format="| $topic | $createdate | $percntCALC{$FORMATTIME($TIME($createdate),$day.$mo.$year)}$percnt |"
}%
...produces...
Number of topics: 1
%CALC{$SET(S0,Item8417)}%
%SEARCH{
search="%CALC{$GET(S0)}%"
type="word"
scope="topic"
format="| $topic | $createdate | $percntCALC{$FORMATTIME($TIME($createdate),$day.$mo.$year)}$percnt |"
}%
...produces...
Item8417 |
24 Jan 2010 - 14:40 |
%CALC{$FORMATTIME($TIME(24 Jan 2010 - 14:40),$day.$mo.$year)}% |
Number of topics: 1
If it works here, please have a look at the
hardcopy.
--
RalfKrueger - 24 Jan 2010
SSP is pretty much a law unto itself; i can't hope to write out the rules by which it barely works. However, I
have experienced this particular bug, and find it very irritating myself.
Confirmed.
--
CrawfordCurrie - 27 Jun 2010
I think the new in-macro-order CALCULATE (in 1.2.0) will resolve this from 1.2.0 onwards.
--
SvenDowideit - 05 Nov 2012