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

           Summary: ask query removes results with no value for a property
                    when sorting by it
           Product: MediaWiki extensions
           Version: any
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: mar...@semantic-mediawiki.org
        ReportedBy: matrix.has....@gmail.com


[[Overview]]
The ask query removes all results without value for a property that is
specified in the "sort" parameter.

[[Steps to Reproduce]]
For example, if I have a page P1 in category C with a property [[has X::value]]
and another page P2 in same category C without the "has X" property. They both
use the same template and same semantic form.

[[Actual Results]]
When I write:

{{#ask: [[Category:C]]
|?has X
|sort=has X
|order=asc
}}

it displays only page P1.

But:
{{#ask: [[Category:C]]
|?has X
}}

displays both P1 and P2 pages.

[[Expected Results]]
it should have displayed both P1 and P2 in both cases.

-- 
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