Item8800: SEARCH date param seems to be broken
Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
there are no unit tests
I added the following searches to my Sandbox web, and created a topic where the TOPICINFO date was set to 1 (ie, in 1970)0 -
Interestingly, that topic is listed in 2010, though the displayed date was 1970
---+++ 1969
%SEARCH{"1" type="query" date="1969"}%
---+++ 1970
%SEARCH{"1" type="query" date="1970"}%
---+++ 1971
%SEARCH{"1" type="query" date="1971"}%
---+++ 2008
%SEARCH{"1" type="query" date="2008"}%
---+++ 2009
%SEARCH{"1" type="query" date="2009"}%
---+++ 2010
%SEARCH{"1" type="query" date="2010"}%
given that the code that does this filtering is pretty disgusting, it could at least have unit tests, and work correctly.
Sven might work on this later.
--
SvenDowideit - 30 Mar 2010
see Fn_SEARCH::verify_date_param
interestingly, I can use the
MetaCache to access the correct rev time when using query search, specifically because the meta obj has previously been accessed.
somewhat fixed in trunk.
--
SvenDowideit - 30 Mar 2010