[pmwiki-users] Pagelist favoring one group over another
nzskiwi at gmail.com
Mon Jan 3 03:01:33 CST 2011
I agree that this behaviour has puzzled me for some time, and I have been
meaning to submit a bug report.
I think it is a bug because it is inconsistent and unexpected. Everywhere
else name means page name, and group means group name.
If I wanted order by group I would say order=group,name,
I always say order=name in the expectation that sort will be by page name.
As a long time user of PmWiki I am actually surprised to hear it behaves
like this, and bet few more recent users of PmWiki would understand this
http://www.pmwiki.org/wiki/PmWiki/PageLists#pagelistorder is clear
that order is by name.
I suggest that rather than changing the documentation we change the
Happy New Year
On 3 January 2011 08:01, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Sun, Jan 02, 2011 at 11:30:13AM -0500, Ben Wilson wrote:
> > I have a simple pagelist:
> > (:pagelist group=A,B name=2* order=name:)
> > It first lists all group A then all group B. I would rather it list
> > all by name, interweaving groups.
> > Thoughts?
> The "order=name" means the full name of the pages, which includes the group
> portion. At one point we discussed using "order=fullname" to mean
> and leave "order=name" for "name only", but decided that ordering by group
> was the far more common case and deserved to be the shorter one.
> You should be able to do "order=$Name,$Group", which will
> sort alphabetically by name only (without the group), and then by
> group if there are any identical names. The ability to use page
> variables for sorting is describe briefly in the order= option
> of http://www.pmwiki.org/wiki/PmWiki/PageLists.
> Hope this helps!
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users