https://bugzilla.wikimedia.org/show_bug.cgi?id=27224

           Summary: Less than or equals on a date type matches everything
                    when used in a Concept
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: mar...@semantic-mediawiki.org
        ReportedBy: j...@angrymonkey.net.nz
                CC: jeroen_ded...@yahoo.com


I expected this:

{{#concept: [[News:+]] [[Category:CFFC News Item]] 
[[CFFC News Published Date::<{{LOCALYEAR}}/{{LOCALMONTH}}/{{LOCALDAY2}}
{{LOCALTIME}}]]
| All published CFFC News items
}}

...to match all items younger than the current date, but it matches any
published date. Using “<<” does the right thing. Using a similarly constructed
#ask: query does the right thing. Odd.

Examples:

‘<’ concept:
http://chch.ultimate.org.nz/wiki/view/Concept:CFFC_News_Latest_Test

‘<<’ concept:
http://chch.ultimate.org.nz/wiki/view/Concept:CFFC_News_Latest

‘<’ #ask:
http://chch.ultimate.org.nz/wiki/view/User:Jwm/sandbox

Using SMW 1.5.5.1.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to