-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
I think the problem with sorting this is that the lines are not
atomar. Instead of having a table of the form

|-
| Property1 || Property2.1, Property2.2, Property2.3, Property2.4
|-

the output should be rather

|-
| Property1 || Property2.1
|-
| Property1 || Property2.2
|-
| Property1 || Property2.3
|-
| Property1 || Property2.4
|-

this would allow proper sorting. To not break anything, I suggest a
new parameter ie. called "group":

{{#ask:
  [[Author::+]]
  |?Author
  |sort=Author
  |group= false
}}

or, more familar to SQL, "groupby":

{{#ask:
  [[Author::+]]
  |?Author
  |sort=Author
  |groupby= Author
}}

This syntax could resolve the sorting problem.

ys, MovGP0

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: http://getfiregpg.org

iEYEARECAAYFAkhqDRAACgkQw23Lwv58rb48ZwCglsP+33YIntGX65UHMAL7NQnD
zWEAoJhtPdWf1eeNz+c3S1yJ28psrj6+
=dsvg
-----END PGP SIGNATURE-----


2008/7/1 Jon Lang <[EMAIL PROTECTED]>:
> Since the order in which the properties appear on a given page is
> arbitrary, I would not want to use it to help resolve page sorting,
> even if it is possible to do so.  IMHO, the best approach is to sort
> the properties on the page using the same approach that you intend for
> sorting the pages (e.g., if sorting pages in ascending order, sort
> multiple properties on a page in ascending order), then sort the pages
> based on the first property in this order, with subsequent properties
> being used to break ties.
>
> --
> Jonathan "Dataweaver" Lang
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>



-- 
------
You can download my public PGP-Key here:
http://members.aon.at/custos/public_pgp_key.asc

KeyID: FE7CADBE
Fingerprint: 9B8F 259C 4172 221C B2F8 BE3D C36D CBC2 FE7C ADBE

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to